From 369b90360348b56a6245f63c2eb75a86e6951d40 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Krier?= Date: Wed, 27 Feb 2013 22:52:29 +0100 Subject: [PATCH] Remove hard-coded end state of Wizard (transplanted from 71a089de7c84cd68013a33749e9505cf3a391a33) --- proteus/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/proteus/__init__.py b/proteus/__init__.py index d38fc1f4cc..08802c8d05 100644 --- a/proteus/__init__.py +++ b/proteus/__init__.py @@ -840,7 +840,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: