diff --git a/product/CMFActivity/Activity/SQLDict.py b/product/CMFActivity/Activity/SQLDict.py index 5971b51a1bce3d07cfbb3319e611e12c468e2291..4a05d6afacc0706259bf2f338ac64f2408c89ea7 100755 --- a/product/CMFActivity/Activity/SQLDict.py +++ b/product/CMFActivity/Activity/SQLDict.py @@ -220,13 +220,13 @@ class SQLDict(RAMDict): raise ActivityFlushError, ( 'The document %s does not exist' % path) - def start(self, activity_tool, active_process=None): - uid_list = activity_tool.SQLDict_readUidList(path=path, active_process=active_process) - activity_tool.SQLDict_assignMessage(uid = uid_list, processing_node = DISTRIBUTABLE_STATE) + # def start(self, activity_tool, active_process=None): + # uid_list = activity_tool.SQLDict_readUidList(path=path, active_process=active_process) + # activity_tool.SQLDict_assignMessage(uid = uid_list, processing_node = DISTRIBUTABLE_STATE) - def stop(self, activity_tool, active_process=None): - uid_list = activity_tool.SQLDict_readUidList(path=path, active_process=active_process) - activity_tool.SQLDict_assignMessage(uid = uid_list, processing_node = STOP_STATE) + # def stop(self, activity_tool, active_process=None): + # uid_list = activity_tool.SQLDict_readUidList(path=path, active_process=active_process) + # activity_tool.SQLDict_assignMessage(uid = uid_list, processing_node = STOP_STATE) def getMessageList(self, activity_tool, processing_node=None): # YO: reading all lines might cause a deadlock diff --git a/product/CMFActivity/Activity/SQLQueue.py b/product/CMFActivity/Activity/SQLQueue.py index 6ce026b10562df1a8c4a43b2f1a653277e5cf50e..437a5ebd818d3860eb4436623889eb7bc4fdd57e 100755 --- a/product/CMFActivity/Activity/SQLQueue.py +++ b/product/CMFActivity/Activity/SQLQueue.py @@ -164,13 +164,13 @@ class SQLQueue(RAMQueue): raise ActivityFlushError, ( 'The document %s does not exist' % path) - def start(self, activity_tool, active_process=None): - uid_list = activity_tool.SQLQueue_readUidList(path=path, active_process=active_process) - activity_tool.SQLQueue_assignMessage(uid = uid_list, processing_node = DISTRIBUTABLE_STATE) + # def start(self, activity_tool, active_process=None): + # uid_list = activity_tool.SQLQueue_readUidList(path=path, active_process=active_process) + # activity_tool.SQLQueue_assignMessage(uid = uid_list, processing_node = DISTRIBUTABLE_STATE) - def stop(self, activity_tool, active_process=None): - uid_list = activity_tool.SQLQueue_readUidList(path=path, active_process=active_process) - activity_tool.SQLQueue_assignMessage(uid = uid_list, processing_node = STOP_STATE) + # def stop(self, activity_tool, active_process=None): + # uid_list = activity_tool.SQLQueue_readUidList(path=path, active_process=active_process) + # activity_tool.SQLQueue_assignMessage(uid = uid_list, processing_node = STOP_STATE) def getMessageList(self, activity_tool, processing_node=None): message_list = []