[lib/dialogwizard] typo
darcs-hash:20090929134214-bd074-b24076612b84473fe9acaa70d26fc649399e0015.gz
This commit is contained in:
parent
eac68563c9
commit
51ca5f4d5f
2 changed files with 17 additions and 5 deletions
|
@ -8,16 +8,17 @@
|
|||
|
||||
from wizard import Step, PreviousStep, EndScenario, TryAgain
|
||||
from itertools import izip
|
||||
import dialog, time
|
||||
import dialog, time, sys, commands
|
||||
|
||||
def really_quit(dico):
|
||||
raise EndScenario("game over!", data = dico)
|
||||
|
||||
def error_handler(exc):
|
||||
dialog.Dialog().msgbox('Erreur:', exc.__repr__())
|
||||
sexc = (str(exc))
|
||||
dialog.Dialog().msgbox(sexc, title = 'Erreur :')
|
||||
raise TryAgain()
|
||||
|
||||
class DialogStepGenerator():
|
||||
class DialogStepGenerator:
|
||||
u"""This class defines a step, that will prompt the user for various
|
||||
fields."""
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue