From 42082ae3c22c4c63e55f8574c9fac58cdbd8b422 Mon Sep 17 00:00:00 2001 From: Oskar Hahn Date: Sun, 3 Feb 2013 14:14:07 +0100 Subject: [PATCH] fixed pep8 --- openslides/motion/models.py | 1 + openslides/motion/workflow.py | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/openslides/motion/models.py b/openslides/motion/models.py index 3179f8365..47aa9ad72 100644 --- a/openslides/motion/models.py +++ b/openslides/motion/models.py @@ -465,6 +465,7 @@ class MotionLog(models.Model): else: return "%s %s by %s" % (self.time, _(self.message), self.person) + class MotionError(Exception): pass diff --git a/openslides/motion/workflow.py b/openslides/motion/workflow.py index 4e25fee7c..813e0c537 100644 --- a/openslides/motion/workflow.py +++ b/openslides/motion/workflow.py @@ -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')),