[Zope-Checkins] CVS: Zope3/lib/python/Zope/Publisher - BaseRequest.py:1.1.2.6 minitest.py:1.1.2.3

Shane Hathaway shane@digicool.com
Fri, 16 Nov 2001 11:05:30 -0500


Update of /cvs-repository/Zope3/lib/python/Zope/Publisher
In directory cvs.zope.org:/tmp/cvs-serv4421/Zope/Publisher

Modified Files:
      Tag: Zope-3x-branch
	BaseRequest.py minitest.py 
Log Message:
Mainly improved exception handling


=== Zope3/lib/python/Zope/Publisher/BaseRequest.py 1.1.2.5 => 1.1.2.6 ===
     common = {}           # Data common to all requests
     args = ()             # Positional arguments
+    ptype = None          # Publishing type
 
     # _held contains objects kept until the request is closed,
     # such as the database connection closer.
@@ -228,10 +229,6 @@
         """
         added_default = 0
         to_traverse = self.splitPath(path_str)
-
-##        if hasattr(object, '__of__'):
-##            # Try to bind the top-level object to the request.
-##            object = object.__of__(RequestContainer(self))
 
         self.traversed = traversed = []
         traversed.append(object)


=== Zope3/lib/python/Zope/Publisher/minitest.py 1.1.2.2 => 1.1.2.3 ===
 publish(publication, request)
 
-
 # bogus speed test ;-)
 
 class DevNull: