[Erp5-report] r19202 - in /erp5/trunk/products/CMFActivity: ActiveResult.py ActivityTool.py
nobody at svn.erp5.org
nobody at svn.erp5.org
Sat Feb 9 15:04:32 CET 2008
Author: jp
Date: Sat Feb 9 15:04:31 2008
New Revision: 19202
URL: http://svn.erp5.org?rev=19202&view=rev
Log:
Minor syntax changes (space)
Modified:
erp5/trunk/products/CMFActivity/ActiveResult.py
erp5/trunk/products/CMFActivity/ActivityTool.py
Modified: erp5/trunk/products/CMFActivity/ActiveResult.py
URL: http://svn.erp5.org/erp5/trunk/products/CMFActivity/ActiveResult.py?rev=19202&r1=19201&r2=19202&view=diff
==============================================================================
--- erp5/trunk/products/CMFActivity/ActiveResult.py (original)
+++ erp5/trunk/products/CMFActivity/ActiveResult.py Sat Feb 9 15:04:31 2008
@@ -51,7 +51,7 @@
# getProperty default
_MARKER = None
- def __init__(self,summary='',severity=INFO,detail='',**kw):
+ def __init__(self, summary='', severity=INFO, detail='', **kw):
"""
set all parameters
"""
Modified: erp5/trunk/products/CMFActivity/ActivityTool.py
URL: http://svn.erp5.org/erp5/trunk/products/CMFActivity/ActivityTool.py?rev=19202&r1=19201&r2=19202&view=diff
==============================================================================
--- erp5/trunk/products/CMFActivity/ActivityTool.py (original)
+++ erp5/trunk/products/CMFActivity/ActivityTool.py Sat Feb 9 15:04:31 2008
@@ -172,7 +172,7 @@
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
@@ -180,8 +180,8 @@
else:
active_process.activateResult(
ActiveResult(object_path=object,
- method_id=self.method_id,
- result=result)) # XXX Allow other method_id in future
+ method_id=self.method_id,
+ result=result)) # XXX Allow other method_id in future
def __call__(self, activity_tool):
try:
More information about the Erp5-report
mailing list