def gotoTodo(self, option, opt, value, parser): #ifGoTo = True GotoStap = value print("ifGoTo... ") moldauConf = MoldauConf() tasksSettings = TasksSettings(moldauConf.getTasksSettingsFile()) progDirector = ZDirector(tasksSettings) progDirector.gotoTodo(GotoStap) sys.exit(0)
def setConfFile(self, option, opt, value, parser): moldauConf = MoldauConf() tasksSettings = TasksSettings(moldauConf.getTasksSettingsFile()) tasksSettings.setConfFile(value) progDirector = ZDirector(tasksSettings) progDirector.start()