[Zope-Checkins] CVS: Zope/lib/python/ZPublisher - BaseRequest.py:1.51.14.2

Christian Theune ct at gocept.com
Sat Oct 4 08:31:46 EDT 2003


Update of /cvs-repository/Zope/lib/python/ZPublisher
In directory cvs.zope.org:/tmp/cvs-serv1928

Modified Files:
      Tag: Zope-2_7-posttraverse
	BaseRequest.py 
Log Message:
 - fixed wrong applied patch


=== Zope/lib/python/ZPublisher/BaseRequest.py 1.51.14.1 => 1.51.14.2 ===
--- Zope/lib/python/ZPublisher/BaseRequest.py:1.51.14.1	Sat Oct  4 06:12:33 2003
+++ Zope/lib/python/ZPublisher/BaseRequest.py	Sat Oct  4 08:31:45 2003
@@ -451,6 +451,14 @@
         """Set a callable object and argument tuple to be combined if traversal succeeds"""
         self._post_traverse.append((f, tuple(args)))
 
+    retry_count=0
+    def supports_retry(self): return 0
+
+    def _hold(self, object):
+        """Hold a reference to an object to delay it's destruction until mine
+        """
+        self._held=self._held+(object,)
+
 def exec_callables(callables):
     for (f, args) in callables:
         try:
@@ -468,17 +476,6 @@
                 'Error while invoking hook: "%s"' % `f`,
                 error=sys.exc_info())
         return object
-
-    retry_count=0
-    def supports_retry(self): return 0
-
-    def _hold(self, object):
-        """Hold a reference to an object to delay it's destruction until mine
-        """
-        self._held=self._held+(object,)
-
-
-
 
 def old_validation(groups, request, auth,
                    roles=UNSPECIFIED_ROLES):




More information about the Zope-Checkins mailing list