Commit beea135b authored by Vincent Pelletier's avatar Vincent Pelletier

Fix tyo in function name (incomplete rename prior to commit).


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@21755 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent a71aef00
...@@ -70,13 +70,13 @@ class RAMDict(Queue): ...@@ -70,13 +70,13 @@ class RAMDict(Queue):
def isMessageRegistered(self, activity_buffer, activity_tool, m): def isMessageRegistered(self, activity_buffer, activity_tool, m):
uid_set = activity_buffer.getUidSet(self) uid_set = activity_buffer.getUidSet(self)
return self.generateMessageId(m) in uid_set return self.generateMessageUID(m) in uid_set
def registerMessage(self, activity_buffer, activity_tool, m): def registerMessage(self, activity_buffer, activity_tool, m):
message_list = activity_buffer.getMessageList(self) message_list = activity_buffer.getMessageList(self)
message_list.append(m) message_list.append(m)
uid_set = activity_buffer.getUidSet(self) uid_set = activity_buffer.getUidSet(self)
uid_set.add(self.generateMessageId(m)) uid_set.add(self.generateMessageUID(m))
m.is_registered = 1 m.is_registered = 1
def dequeueMessage(self, activity_tool, processing_node): def dequeueMessage(self, activity_tool, processing_node):
......
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