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

Shane Hathaway shane@digicool.com
Tue, 20 Nov 2001 14:37:04 -0500


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

Modified Files:
      Tag: Zope-3x-branch
	AttributePublisher.py 
Log Message:
- Stitched together container presentation.

- Changed signature of browser_default and NotFound.


=== Zope3/lib/python/Zope/Publisher/Browser/AttributePublisher.py 1.1.2.4 => 1.1.2.5 ===
 
     def browser_traverse(self, request, name):
-        if name[:1] == '_':
-            raise 'NotFound'
+##        if name[:1] == '_':
+##            raise 'NotFound'
 
         if name[-5:]=='.html':
             return getattr(self, name[:-5])
@@ -23,4 +23,4 @@
         return getattr(self, name)
 
     def browser_default(self, request):
-        return "index.html"
+        return self, ("index.html",)