Use break instead of return in wizard loop

This commit is contained in:
Cédric Krier
2008-10-05 23:33:08 +02:00
parent fc89bbc16a
commit 5d1e65b794
+1 -1
View File
@@ -171,7 +171,7 @@ class Wizard(object):
if dia:
res = {'type': 'form'}
else:
return
break
else:
if dia:
dia.destroy()