[Erp5-report] r28767 - /erp5/trunk/products/CMFActivity/Activity/SQLDict.py
nobody at svn.erp5.org
nobody at svn.erp5.org
Thu Sep 3 10:36:17 CEST 2009
Author: seb
Date: Thu Sep 3 10:36:17 2009
New Revision: 28767
URL: http://svn.erp5.org?rev=28767&view=rev
Log:
* Allows to have different activities with the same
serialization_tag even if some use group_method_id
and some other do not use it
* add spaces before and after operator !=
Modified:
erp5/trunk/products/CMFActivity/Activity/SQLDict.py
Modified: erp5/trunk/products/CMFActivity/Activity/SQLDict.py
URL: http://svn.erp5.org/erp5/trunk/products/CMFActivity/Activity/SQLDict.py?rev=28767&r1=28766&r2=28767&view=diff
==============================================================================
--- erp5/trunk/products/CMFActivity/Activity/SQLDict.py [utf8] (original)
+++ erp5/trunk/products/CMFActivity/Activity/SQLDict.py [utf8] Thu Sep 3 10:36:17 2009
@@ -657,7 +657,8 @@
if serialization_tag in serialization_tag_set:
if group_method_id is not None:
# Only one group_method_id can pass through.
- if serialization_tag_group_method_id_dict[serialization_tag]!=group_method_id:
+ if serialization_tag_group_method_id_dict.get(
+ serialization_tag,None) != group_method_id:
del message_dict[message.uid]
else:
del message_dict[message.uid]
More information about the Erp5-report
mailing list