[Zope3-checkins] CVS: Zope3/src/zope/server/ftp/tests - test_publisher.py:1.2

Philipp von Weitershausen philikon at philikon.de
Sat Mar 20 08:38:18 EST 2004


Update of /cvs-repository/Zope3/src/zope/server/ftp/tests
In directory cvs.zope.org:/tmp/cvs-serv719/src/zope/server/ftp/tests

Modified Files:
	test_publisher.py 
Log Message:


Have IPublication.afterCall() accept a second argument, the object
that is being published. We need that in order to be able to annotate
transactions with metadata extracted from the object, such as the
location (http://dev.zope.org/Zope3/SimplifyUndoModel).


=== Zope3/src/zope/server/ftp/tests/test_publisher.py 1.1 => 1.2 ===
--- Zope3/src/zope/server/ftp/tests/test_publisher.py:1.1	Mon Feb  3 10:09:01 2003
+++ Zope3/src/zope/server/ftp/tests/test_publisher.py	Sat Mar 20 08:38:17 2004
@@ -51,7 +51,7 @@
             request.env['path'] += "/" + request.env['name']
         return mapply(command, request = request.env)
 
-    def afterCall(self, request):
+    def afterCall(self, request, ob):
         pass
 
     def handleException(self, object, request, info, retry_allowed=True):




More information about the Zope3-Checkins mailing list