From 45c31d42add9ea5849e47523f6e8bb402fc8198d Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Fri, 2 Oct 2020 12:45:24 +0200 Subject: store project name in dtree model --- lib/loader.py | 3 +++ 1 file changed, 3 insertions(+) (limited to 'lib/loader.py') diff --git a/lib/loader.py b/lib/loader.py index 7835b18..dab8357 100644 --- a/lib/loader.py +++ b/lib/loader.py @@ -1962,6 +1962,9 @@ class KConfigAttributes: self.kconf = kconf self.kconfig_hash = self.file_hash(kconfig_path) + self.kconfig_dir = "unknown" + if "/" in kconfig_path: + self.kconfig_dir = kconfig_path.split("/")[-2] self.symbol_names = sorted( map( -- cgit v1.2.3