fixed pep8
This commit is contained in:
parent
cbd4acbd4b
commit
42082ae3c2
@ -465,6 +465,7 @@ class MotionLog(models.Model):
|
|||||||
else:
|
else:
|
||||||
return "%s %s by %s" % (self.time, _(self.message), self.person)
|
return "%s %s by %s" % (self.time, _(self.message), self.person)
|
||||||
|
|
||||||
|
|
||||||
class MotionError(Exception):
|
class MotionError(Exception):
|
||||||
pass
|
pass
|
||||||
|
|
||||||
|
@ -79,7 +79,7 @@ DUMMY_STATE = State('dummy', ugettext('Unknwon state'))
|
|||||||
default_workflow = State('pub', ugettext('Published'), support=True,
|
default_workflow = State('pub', ugettext('Published'), support=True,
|
||||||
edit_as_submitter=True, version_permission=False)
|
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('per', ugettext('Permitted'), create_poll=True, edit_as_submitter=True, next_states=[
|
||||||
State('acc', ugettext('Accepted')),
|
State('acc', ugettext('Accepted')),
|
||||||
State('rej', ugettext('Rejected')),
|
State('rej', ugettext('Rejected')),
|
||||||
|
Loading…
Reference in New Issue
Block a user