projects
/
bertos.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Remove unneeded config.
[bertos.git]
/
wizard
/
bertos_utils.py
diff --git
a/wizard/bertos_utils.py
b/wizard/bertos_utils.py
index 3854f9f269682ff7c6c02ca0f5f8838b2c9228ff..6065c677cf6241bc4e7869bbad4fbfe9697f4a8e 100644
(file)
--- a/
wizard/bertos_utils.py
+++ b/
wizard/bertos_utils.py
@@
-247,6
+247,11
@@
def loadModuleInfos(path):
"configuration": WIZARD_MODULE["configuration"],
"description": "",
"enabled": False}
"configuration": WIZARD_MODULE["configuration"],
"description": "",
"enabled": False}
+ index = comment.find("\\brief")
+ if index != -1:
+ description = comment[index + 7:]
+ description = description[:description.find(" * ")]
+ moduleInfos[WIZARD_MODULE["name"]]["description"] = description
return moduleInfos
return {}
except SyntaxError:
return moduleInfos
return {}
except SyntaxError: