[DEV] update the description missing
This commit is contained in:
parent
43c023d951
commit
1a112e4000
3
monk.py
3
monk.py
@ -33,7 +33,8 @@ def usage():
|
|||||||
listOfAllModule = monkModule.list_all_module_with_desc()
|
listOfAllModule = monkModule.list_all_module_with_desc()
|
||||||
for mod in listOfAllModule:
|
for mod in listOfAllModule:
|
||||||
print " " + mod[0] + " / " + mod[0] + "-clean"
|
print " " + mod[0] + " / " + mod[0] + "-clean"
|
||||||
print " " + mod[1]
|
if mod[1] != "":
|
||||||
|
print " " + mod[1]
|
||||||
print " ex: " + sys.argv[0] + " all"
|
print " ex: " + sys.argv[0] + " all"
|
||||||
exit(0)
|
exit(0)
|
||||||
|
|
||||||
|
@ -324,7 +324,10 @@ def import_path(path):
|
|||||||
debug.debug("integrate module: '" + moduleName + "' from '" + os.path.join(root, filename) + "'")
|
debug.debug("integrate module: '" + moduleName + "' from '" + os.path.join(root, filename) + "'")
|
||||||
theModule = __import__(__startModuleName + moduleName)
|
theModule = __import__(__startModuleName + moduleName)
|
||||||
tmpElement = theModule.create()
|
tmpElement = theModule.create()
|
||||||
tmpdesc = theModule.get_desc()
|
try:
|
||||||
|
tmpdesc = theModule.get_desc()
|
||||||
|
except:
|
||||||
|
tmpdesc = ""
|
||||||
if (tmpElement == None) :
|
if (tmpElement == None) :
|
||||||
debug.warning("Request load module '" + name + "' not define for this platform")
|
debug.warning("Request load module '" + name + "' not define for this platform")
|
||||||
moduleList.append({"name":moduleName, "path":os.path.join(root, filename), "node":tmpElement, "desc":tmpdesc})
|
moduleList.append({"name":moduleName, "path":os.path.join(root, filename), "node":tmpElement, "desc":tmpdesc})
|
||||||
@ -350,4 +353,6 @@ def list_all_module_with_desc():
|
|||||||
tmpList.append([mod["name"], mod["desc"]])
|
tmpList.append([mod["name"], mod["desc"]])
|
||||||
return tmpList
|
return tmpList
|
||||||
|
|
||||||
|
def get_link_type(type):
|
||||||
|
return ""
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user