Commit a7257c64 authored by Vincent Pelletier's avatar Vincent Pelletier

CMFActivity.Activity.SQLDict: Drop single-use variable.

parent 936a8cea
...@@ -105,8 +105,7 @@ class SQLDict(SQLBase): ...@@ -105,8 +105,7 @@ class SQLDict(SQLBase):
if message_id in uid_set: if message_id in uid_set:
return return
uid_set.add(message_id) uid_set.add(message_id)
message_list = activity_buffer.getMessageList(self) activity_buffer.getMessageList(self).append(m)
message_list.append(m)
m.is_registered = True m.is_registered = True
def unregisterMessage(self, activity_buffer, activity_tool, m): def unregisterMessage(self, activity_buffer, activity_tool, m):
......
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