Commit f9c08522 authored by Sebastien Robin's avatar Sebastien Robin

allows to display the list of activities


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@634 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 29daa15e
......@@ -68,6 +68,11 @@ class RAMQueue(Queue):
self.queue = new_queue
def getMessageList(self, activity_tool, processing_node=None):
return self.queue
new_queue = []
for m in self.queue:
m.processing_node = 1
m.priority = 0
new_queue.append(m)
return new_queue
registerActivity(RAMQueue)
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