Commit 548ab5f1 authored by cnoirot's avatar cnoirot
Browse files

Bug correction

parent 0229c050
...@@ -86,17 +86,6 @@ if __name__ == '__main__': ...@@ -86,17 +86,6 @@ if __name__ == '__main__':
if not "cmd_object" in args: if not "cmd_object" in args:
print(parser.format_help()) print(parser.format_help())
parser.exit(0, "") parser.exit(0, "")
if args["cmd_object"] in wf_classes:
workflow = wfmanager.get_workflow_by_class(args["cmd_object"])
except RuleException as e:
except RuleIgnore:
wfmanager.run_workflow(args["cmd_object"], args)
elif args["cmd_object"] == "rerun": elif args["cmd_object"] == "rerun":
wfmanager.rerun_workflow(args["workflow_id"]) wfmanager.rerun_workflow(args["workflow_id"])
elif args["cmd_object"] == "reset": elif args["cmd_object"] == "reset":
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment