[Erp5-report] r42322 nicolas.dumazet - /erp5/trunk/products/ERP5Type/dynamic/

nobody at svn.erp5.org nobody at svn.erp5.org
Fri Jan 14 04:24:25 CET 2011


Author: nicolas.dumazet
Date: Fri Jan 14 04:24:25 2011
New Revision: 42322

URL: http://svn.erp5.org?rev=42322&view=rev
Log:
CacheCookie's first value is zero: force a smaller value on last_sync to
make sure that there is _always_ at least one reset at instance startup

Modified:
    erp5/trunk/products/ERP5Type/dynamic/portal_type_class.py

Modified: erp5/trunk/products/ERP5Type/dynamic/portal_type_class.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5Type/dynamic/portal_type_class.py?rev=42322&r1=42321&r2=42322&view=diff
==============================================================================
--- erp5/trunk/products/ERP5Type/dynamic/portal_type_class.py [utf8] (original)
+++ erp5/trunk/products/ERP5Type/dynamic/portal_type_class.py [utf8] Fri Jan 14 04:24:25 2011
@@ -373,7 +373,7 @@ def initializeDynamicModules():
   erp5.temp_portal_type = registerDynamicModule('erp5.temp_portal_type',
                                                 loadTempPortalTypeClass)
 
-last_sync = 0
+last_sync = -1
 def synchronizeDynamicModules(context, force=False):
   """
   Allow resetting all classes to ghost state, most likely done after



More information about the Erp5-report mailing list