Fixed #21298 -- Fixed E301 pep8 warnings

This commit is contained in:
Alasdair Nicol
2013-10-22 11:21:07 +01:00
parent 2a56f3a220
commit dc651ba774

View File

@@ -418,8 +418,10 @@ class WizardInlineFormSetTests(TestCase):
def test_set_instance(self):
# Regression test for #21259
poet = self.poet
class InlineFormSetWizard(CookieWizardView):
instance = None
def get_form_instance(self, step):
if self.instance is None:
self.instance = poet