From: duplo Date: Fri, 20 Feb 2009 14:27:52 +0000 (+0000) Subject: Add category for each moduel X-Git-Tag: 2.1.0~315 X-Git-Url: https://codewiz.org/gitweb?a=commitdiff_plain;h=301d253187e1608f96b56478db1ccebd25cb352f;p=bertos.git Add category for each moduel git-svn-id: https://src.develer.com/svnoss/bertos/trunk@2367 38d2e660-2303-0410-9eaa-f027e97ec537 --- 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: