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):
if message_id in uid_set:
return
uid_set.add(message_id)
message_list = activity_buffer.getMessageList(self)
message_list.append(m)
activity_buffer.getMessageList(self).append(m)
m.is_registered = True
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