From 301d253187e1608f96b56478db1ccebd25cb352f Mon Sep 17 00:00:00 2001 From: duplo Date: Fri, 20 Feb 2009 14:27:52 +0000 Subject: [PATCH] Add category for each moduel git-svn-id: https://src.develer.com/svnoss/bertos/trunk@2367 38d2e660-2303-0410-9eaa-f027e97ec537 --- wizard/bertos_utils.py | 1 + 1 file changed, 1 insertion(+) diff --git a/wizard/bertos_utils.py b/wizard/bertos_utils.py index cfaf2a7f..b74245bf 100644 --- a/wizard/bertos_utils.py +++ b/wizard/bertos_utils.py @@ -287,6 +287,7 @@ def loadModuleData(project): except ParseError, err: raise DefineException.ModuleDefineException(path, err.line_number, err.line) for module, information in moduleDict.items(): + information["category"] = os.path.basename(path) if "configuration" in information.keys() and len(information["configuration"]): configuration = moduleDict[module]["configuration"] try: -- 2.25.1