Unbound mod variablewq
This commit is contained in:
parent
16f1bef125
commit
3e980c9d14
@ -33,10 +33,10 @@ class ConsoleScript(cli2.ConsoleScript):
|
|||||||
self.exit_code = 1
|
self.exit_code = 1
|
||||||
return
|
return
|
||||||
shlaxfile = mod.__file__
|
shlaxfile = mod.__file__
|
||||||
|
self._doc = inspect.getdoc(mod)
|
||||||
|
|
||||||
self.shlaxfile = Shlaxfile()
|
self.shlaxfile = Shlaxfile()
|
||||||
self.shlaxfile.parse(shlaxfile)
|
self.shlaxfile.parse(shlaxfile)
|
||||||
self._doc = inspect.getdoc(mod)
|
|
||||||
if 'main' in self.shlaxfile.actions:
|
if 'main' in self.shlaxfile.actions:
|
||||||
action = self.shlaxfile.actions['main']
|
action = self.shlaxfile.actions['main']
|
||||||
for name, child in self.shlaxfile.actions['main'].menu.items():
|
for name, child in self.shlaxfile.actions['main'].menu.items():
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user