diff options
author | Daniel Friesel <daniel.friesel@uos.de> | 2020-10-02 12:45:24 +0200 |
---|---|---|
committer | Daniel Friesel <daniel.friesel@uos.de> | 2020-10-02 12:45:24 +0200 |
commit | 45c31d42add9ea5849e47523f6e8bb402fc8198d (patch) | |
tree | c243c46c53120e19fd8c50e36966efe634ef1f25 /lib/loader.py | |
parent | 03f4400a5c11d1567524a20d8d033d0ea3ad8f03 (diff) |
store project name in dtree modelkconfig-modeling
Diffstat (limited to 'lib/loader.py')
-rw-r--r-- | lib/loader.py | 3 |
1 files changed, 3 insertions, 0 deletions
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( |