Example #1
0
 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)
Example #2
0
 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)
Example #3
0
 def initConf(self, option, opt, value, parser):
     print "Create... "
     moldauConf = MoldauConf()
     print "\n... '" + moldauConf.configFile + "'."
     moldauConf.generateNewConfigFile()
     tasksSettings = TasksSettings(moldauConf.getTasksSettingsFile())
     print "\n... " + tasksSettings.configFile + "'"
     tasksSettings.generateNewConfigFile()
     print "\n...done"
     sys.exit(0)
Example #4
0
 def initConf(self, option, opt, value,  parser):
     print "Create... "
     moldauConf   = MoldauConf()
     print "\n... '" + moldauConf.configFile  + "'."
     moldauConf.generateNewConfigFile()
     tasksSettings = TasksSettings(moldauConf.getTasksSettingsFile())
     print "\n... " + tasksSettings.configFile + "'"
     tasksSettings.generateNewConfigFile()
     print "\n...done"
     sys.exit(0)
Example #5
0
 def setConfFile(self, option, opt, value, parser):
     moldauConf = MoldauConf()
     tasksSettings = TasksSettings(moldauConf.getTasksSettingsFile())
     tasksSettings.setConfFile(value)
     progDirector = ZDirector(tasksSettings)
     progDirector.start()
Example #6
0
 def setConfFile(self, option, opt,  value, parser):
     moldauConf   = MoldauConf()
     tasksSettings = TasksSettings(moldauConf.getTasksSettingsFile())
     tasksSettings.setConfFile(value)
     progDirector = ZDirector(tasksSettings)
     progDirector.start()