Screen.__init__(self, session)
HelpableScreen.__init__(self)
Screen.__init__(self, session)
HelpableScreen.__init__(self)
try: # don't die, if no run() is available
self.configInstance.run()
except:
print "Failed to run configInstance"
if self.showList:
try: # don't die, if no run() is available
self.configInstance.run()
except:
print "Failed to run configInstance"
if self.showList:
- if (len(self.wizard[self.currStep]["list"]) > 0):
- nextStep = self.wizard[self.currStep]["list"][self["list"].l.getCurrentSelectionIndex()][1]
+ if (len(self.wizard[currStep]["list"]) > 0):
+ nextStep = self.wizard[currStep]["list"][self["list"].l.getCurrentSelectionIndex()][1]
- self.runCode(self.wizard[self.currStep]["codeafter"])
- if self.wizard[self.currStep]["nextstep"] is not None:
- self.currStep = self.getStepWithID(self.wizard[self.currStep]["nextstep"])
+ self.runCode(self.wizard[currStep]["codeafter"])
+ if self.wizard[currStep]["nextstep"] is not None:
+ self.currStep = self.getStepWithID(self.wizard[currStep]["nextstep"])