Log message for revision 67870:
  objects will never provide IDefaultViewName. It's just a marker interface
  for strings, i believe...
  

Changed:
  U   Zope/trunk/lib/python/ZPublisher/BaseRequest.py

-=-
Modified: Zope/trunk/lib/python/ZPublisher/BaseRequest.py
===================================================================
--- Zope/trunk/lib/python/ZPublisher/BaseRequest.py     2006-05-02 20:59:07 UTC 
(rev 67869)
+++ Zope/trunk/lib/python/ZPublisher/BaseRequest.py     2006-05-02 21:15:18 UTC 
(rev 67870)
@@ -404,8 +404,7 @@
                     # BrowserDefault returns the object to be published
                     # (usually self) and a sequence of names to traverse to
                     # find the method to be published.
-                    if (IBrowserPublisher.providedBy(object) or 
-                        IDefaultViewName.providedBy(object)):
+                    if IBrowserPublisher.providedBy(object):
                         adapter = object
                     else:
                         adapter = queryMultiAdapter((object, self), 

_______________________________________________
Zope-Checkins maillist  -  Zope-Checkins@zope.org
http://mail.zope.org/mailman/listinfo/zope-checkins

Reply via email to