[Neo-report] r2434 vincent - /trunk/neo/storage/app.py

nobody at svn.erp5.org nobody at svn.erp5.org
Mon Nov 8 16:09:00 CET 2010


Author: vincent
Date: Mon Nov  8 16:08:59 2010
New Revision: 2434

Log:
Call populate as early as possible.

Modified:
    trunk/neo/storage/app.py

Modified: trunk/neo/storage/app.py
==============================================================================
--- trunk/neo/storage/app.py [iso-8859-1] (original)
+++ trunk/neo/storage/app.py [iso-8859-1] Mon Nov  8 16:08:59 2010
@@ -272,6 +272,7 @@ class Application(object):
                 or not self.has_last_ids:
             self.em.poll(1)
         self.ready = True
+        self.replicator.populate()
         self.master_conn.notify(Packets.NotifyReady())
 
     def doOperation(self):
@@ -287,8 +288,6 @@ class Application(object):
         self.dm.dropUnfinishedData()
         self.tm.reset()
 
-        self.replicator.populate()
-
         while True:
             em.poll(1)
             if self.replicator.pending():





More information about the Neo-report mailing list