[Zope-Checkins] SVN: Zope/trunk/src/ZPublisher/BaseRequest.py Merge c120152 from 2.13 branch

Hanno Schlichting hannosch at hannosch.eu
Sun Feb 6 13:18:12 EST 2011


Log message for revision 120156:
  Merge c120152 from 2.13 branch
  

Changed:
  U   Zope/trunk/src/ZPublisher/BaseRequest.py

-=-
Modified: Zope/trunk/src/ZPublisher/BaseRequest.py
===================================================================
--- Zope/trunk/src/ZPublisher/BaseRequest.py	2011-02-06 18:17:53 UTC (rev 120155)
+++ Zope/trunk/src/ZPublisher/BaseRequest.py	2011-02-06 18:18:12 UTC (rev 120156)
@@ -140,8 +140,6 @@
         # object has a pseudo-docstring for the object. Objects that
         # have an empty or missing docstring are not published.
         doc = getattr(subobject, '__doc__', None)
-        if doc is None:
-            doc = getattr(object, '%s__doc__' % name, None)
         if not doc:
             raise Forbidden(
                 "The object at %s has an empty or missing " \



More information about the Zope-Checkins mailing list