[Zope-Checkins] CVS: Zope3/lib/python/Zope/Publisher/Browser - AttributePublisher.py:1.1.2.13 IBrowserPublisher.py:1.1.2.9

Steve Alexander steve@cat-box.net
Wed, 27 Mar 2002 18:04:43 -0500


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

Modified Files:
      Tag: Zope-3x-branch
	AttributePublisher.py IBrowserPublisher.py 
Log Message:
correcting browser_default to browserDefault and browser_traverse
to publishTraverse.


=== Zope3/lib/python/Zope/Publisher/Browser/AttributePublisher.py 1.1.2.12 => 1.1.2.13 ===
     # Zope.Publisher.Browser.IBrowserPublisher.
 
-    def browser_traverse(self, request, name):
+    def publishTraverse(self, request, name):
         '''See interface IBrowserPublisher'''
 
         if name.endswith('.html'):
@@ -24,6 +24,6 @@
 
         return getattr(self, name)
 
-    def browser_default(self, request):
+    def browserDefault(self, request):
         '''See interface IBrowserPublisher'''
         return self, ("index.html",)


=== Zope3/lib/python/Zope/Publisher/Browser/IBrowserPublisher.py 1.1.2.8 => 1.1.2.9 ===
 class IBrowserPublisher(Interface):
 
-    def browser_traverse(request, name):
+    def publishTraverse(request, name):
         """Lookup a name
 
         The request argument is the publisher request object.
         """
 
-    def browser_default(request):
+    def browserDefault(request):
         """Provide the default object
 
         The default object is expressed as a (possibly different)
@@ -26,13 +26,13 @@
         Returns an object and a sequence of names.  If the sequence of
         names is not empty, then a traversal step is made for each name.
         After the publisher gets to the end of the sequence, it will
-        call browser_default on the last traversed object.
+        call browserDefault on the last traversed object.
 
         Normal usage is to return self for object and a default view name.
 
         The publisher calls this method at the end of each traversal path. If
         a non-empty sequence of names is returned, the publisher will traverse 
-        those names and call browser_default again at the end.
+        those names and call browserDefault again at the end.
 
         Note that if additional traversal steps are indicated (via a
         nonempty sequence of names), then the publisher will try to adjust