[Checkins] SVN: z3c.baseregistry/trunk/ Revert previous change, because it breaks overrides tests. Need to rethink this.

Dan Korostelev nadako at gmail.com
Mon Jan 12 08:07:00 EST 2009


Log message for revision 94694:
  Revert previous change, because it breaks overrides tests. Need to rethink this.

Changed:
  U   z3c.baseregistry/trunk/CHANGES.txt
  U   z3c.baseregistry/trunk/src/z3c/baseregistry/zcml.py

-=-
Modified: z3c.baseregistry/trunk/CHANGES.txt
===================================================================
--- z3c.baseregistry/trunk/CHANGES.txt	2009-01-12 12:29:30 UTC (rev 94693)
+++ z3c.baseregistry/trunk/CHANGES.txt	2009-01-12 13:07:00 UTC (rev 94694)
@@ -2,18 +2,7 @@
 CHANGES
 =======
 
-1.0.1 (unreleased)
-------------------
+Version 1.0.0 (2008-01-24)
+--------------------------
 
-- Ensure that original registry restoring action is
-  performed last, by specifying sys.maxint order for it.
-  This is a workaround for bug that appears when there's
-  actions with specified (large) order, so original registry
-  is restored _before_ that action is executed. One of
-  examples is _checkViewFor action in zope.app.publisher's
-  addMenuItem directive.
-
-1.0.0 (2008-01-24)
-------------------
-
 - Initial Release

Modified: z3c.baseregistry/trunk/src/z3c/baseregistry/zcml.py
===================================================================
--- z3c.baseregistry/trunk/src/z3c/baseregistry/zcml.py	2009-01-12 12:29:30 UTC (rev 94693)
+++ z3c.baseregistry/trunk/src/z3c/baseregistry/zcml.py	2009-01-12 13:07:00 UTC (rev 94694)
@@ -16,8 +16,6 @@
 $Id$
 """
 __docformat__ = "reStructuredText"
-import sys
-
 import zope.interface
 import zope.component.globalregistry
 import zope.configuration.config
@@ -113,7 +111,6 @@
         self.context.action(
             discriminator=None,
             callable=resetOriginalRegistry,
-            args=(self,),
-            order=sys.maxint,
+            args=(self,)
             )
 



More information about the Checkins mailing list