Commit c4b911e6 authored by Sebastien Robin's avatar Sebastien Robin

* 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 !=

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@28767 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent ca65ee1a
......@@ -657,7 +657,8 @@ class SQLDict(RAMDict, SQLBase):
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]
......
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