[Neo-report] r2224 vincent - /trunk/neo/storage/replicator.py

nobody at svn.erp5.org nobody at svn.erp5.org
Thu Aug 26 10:02:06 CEST 2010


Author: vincent
Date: Thu Aug 26 10:02:05 2010
New Revision: 2224

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

Modified:
    trunk/neo/storage/replicator.py

Modified: trunk/neo/storage/replicator.py
==============================================================================
--- trunk/neo/storage/replicator.py [iso-8859-1] (original)
+++ trunk/neo/storage/replicator.py [iso-8859-1] Thu Aug 26 10:02:05 2010
@@ -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





More information about the Neo-report mailing list