[Zope-Checkins] CVS: Zope3/lib/python/Zope/Publisher/Browser - BrowserRequest.py:1.8

Jim Fulton jim@zope.com
Tue, 18 Jun 2002 10:38:25 -0400


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

Modified Files:
	BrowserRequest.py 
Log Message:
Changed the request 'getPublication' method to a read-only
'publication' property.


=== Zope3/lib/python/Zope/Publisher/Browser/BrowserRequest.py 1.7 => 1.8 ===
         elif method in DEFAULTABLE_METHODS:
             # We need to check for default documents
-            publication = self.getPublication()
+            publication = self.publication
             
             nsteps = 0
             ob, add_steps = publication.getDefaultTraversal(self, ob)