Commit 678657da authored by Vincent Pelletier's avatar Vincent Pelletier

Don't empty partition_dict on Replicator.reset() .

git-svn-id: https://svn.erp5.org/repos/neo/trunk@2224 71dcc9de-d417-0410-9af5-da40c76e7ee4
parent 131a1054
......@@ -88,6 +88,7 @@ class Replicator(object):
"""
self.new_partition_dict = self._getOutdatedPartitionList()
self.critical_tid_dict = {}
self.partition_dict = {}
self.reset()
def reset(self):
......@@ -97,7 +98,6 @@ class Replicator(object):
self.waiting_for_unfinished_tids = False
self.unfinished_tid_list = None
self.replication_done = True
self.partition_dict = {}
def _getOutdatedPartitionList(self):
app = self.app
......
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