Skip to content

Commit

Permalink
Pep8, that somehow didn't commit
Browse files Browse the repository at this point in the history
  • Loading branch information
Greg Jurman committed Mar 13, 2012
1 parent ca1fba1 commit 69a2c2b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tw2/forms/widgets.py
Original file line number Diff line number Diff line change
Expand Up @@ -661,7 +661,7 @@ def __init__(self, **kw):
def prepare(self):
super(Form, self).prepare()
if self.buttons and not isinstance(self.buttons, list):
raise AttributeError, "buttons parameter must be a list or None"
raise AttributeError("buttons parameter must be a list or None")

if self.submit and not \
['SubmitButton' in repr(b) for b in self.buttons]:
Expand Down

0 comments on commit 69a2c2b

Please sign in to comment.