Commit 1fa44ac1 authored by Jean-Paul Smets's avatar Jean-Paul Smets

Minor syntax changes (space)

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@19202 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent f120a68c
......@@ -51,7 +51,7 @@ class ActiveResult:
# getProperty default
_MARKER = None
def __init__(self,summary='',severity=INFO,detail='',**kw):
def __init__(self, summary='', severity=INFO, detail='', **kw):
"""
set all parameters
"""
......
......@@ -172,7 +172,7 @@ class Message:
def activateResult(self, activity_tool, result, object):
if self.active_process is not None:
active_process = activity_tool.unrestrictedTraverse(self.active_process)
if isinstance(result,ActiveResult):
if isinstance(result, ActiveResult):
result.edit(object_path=object)
result.edit(method_id=self.method_id)
# XXX Allow other method_id in future
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment