fixed pep8

This commit is contained in:
Oskar Hahn 2013-02-03 14:14:07 +01:00
parent cbd4acbd4b
commit 42082ae3c2
2 changed files with 2 additions and 1 deletions

View File

@ -465,6 +465,7 @@ class MotionLog(models.Model):
else:
return "%s %s by %s" % (self.time, _(self.message), self.person)
class MotionError(Exception):
pass

View File

@ -79,7 +79,7 @@ DUMMY_STATE = State('dummy', ugettext('Unknwon state'))
default_workflow = State('pub', ugettext('Published'), support=True,
edit_as_submitter=True, version_permission=False)
default_workflow.next_states=[
default_workflow.next_states = [
State('per', ugettext('Permitted'), create_poll=True, edit_as_submitter=True, next_states=[
State('acc', ugettext('Accepted')),
State('rej', ugettext('Rejected')),