Remove hard-coded end state of Wizard

This commit is contained in:
Cédric Krier committed 2013-02-27 22:52:29 +01:00
1 parent 76b80f387d
commit 2fc2f4eae4
1 file changed
+1 -1
+1 -1
View File
@@ -889,7 +889,7 @@ class Wizard(object):
assert state in self.states
self.state = state
while self.state != 'end':
while self.state != self.end_state:
ctx = self._context.copy()
ctx.update(self._config.context)
if self.models: