[Zope-Checkins] CVS: Zope3/lib/python/Zope/Server/PubCore - ZRendezvous.py:1.1.2.3 ZServerPublisher.py:1.1.2.3

Shane Hathaway shane@digicool.com
Mon, 19 Nov 2001 15:25:01 -0500


Update of /cvs-repository/Zope3/lib/python/Zope/Server/PubCore
In directory cvs.zope.org:/tmp/cvs-serv21252/lib/python/Zope/Server/PubCore

Modified Files:
      Tag: Zope-3x-branch
	ZRendezvous.py ZServerPublisher.py 
Log Message:
Reoriented payload objects.  They now return the publication object.
Also made Publish.py easier to understand.


=== Zope3/lib/python/Zope/Server/PubCore/ZRendezvous.py 1.1.2.2 => 1.1.2.3 ===
         finally: self._r()
 
-    def handle(self, publication, request):
+    def handle(self, request):
         self._a()
         try:
             pool, requests, ready = self._lists
-            requests.append((publication, request))
+            requests.append(request)
             if ready:
                 l=ready[-1]
                 del ready[-1]


=== Zope3/lib/python/Zope/Server/PubCore/ZServerPublisher.py 1.1.2.2 => 1.1.2.3 ===
        while 1:
            try:
-               publication, request = accept()
-               publish(publication, request)
+               request = accept()
+               publish(request)
            finally:
                request.response._finish()
                request=response=None