projects
/
bertos.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Modify the selection mode
[bertos.git]
/
wizard
/
bertos_utils.py
diff --git
a/wizard/bertos_utils.py
b/wizard/bertos_utils.py
index c38a88b444b6fa9e80dd2dda5473a9a92b16644e..50758645a78459a7336cecd5622ecf04baf24c0e 100644
(file)
--- a/
wizard/bertos_utils.py
+++ b/
wizard/bertos_utils.py
@@
-119,12
+119,13
@@
def getDescriptionInformations(text):
Take the doxygen comment and strip the wizard informations, returning the tuple
(comment, wizard_informations)
"""
Take the doxygen comment and strip the wizard informations, returning the tuple
(comment, wizard_informations)
"""
- informations = {}
index = text.find("$WIZARD")
if index != -1:
exec(text[index + 1:])
index = text.find("$WIZARD")
if index != -1:
exec(text[index + 1:])
- informations.update(WIZARD)
- return text[:index].strip(), informations
+ informations = WIZARD
+ return text[:index].strip(), informations
+ else:
+ return text.strip(), {}
def loadModuleInfos(path):
"""
def loadModuleInfos(path):
"""