fix missing sys and conf error in pyruse-boot
parent
901da5a367
commit
50a4be71f0
|
@ -1,3 +1,4 @@
|
||||||
#!/usr/bin/python
|
#!/usr/bin/python
|
||||||
|
import sys
|
||||||
from pyruse import main
|
from pyruse import main
|
||||||
main.boot(sys.argv[1])
|
main.boot(sys.argv[1])
|
||||||
|
|
|
@ -34,6 +34,8 @@ def _doForEachJournalEntry(workflow):
|
||||||
step = step.run(entry)
|
step = step.run(entry)
|
||||||
|
|
||||||
def boot(modName):
|
def boot(modName):
|
||||||
|
_setPyrusePaths()
|
||||||
|
conf = config.Config(PYRUSE_PATHS)
|
||||||
if "action_" in modName:
|
if "action_" in modName:
|
||||||
module.get({"action": modName}).module.boot()
|
module.get({"action": modName}).module.boot()
|
||||||
elif "filter_" in modName:
|
elif "filter_" in modName:
|
||||||
|
|
Loading…
Reference in New Issue