Commit 7498ea16 authored by Hanno Schlichting's avatar Hanno Schlichting

Merge c120152 from 2.13 branch

parent 9066a142
......@@ -140,8 +140,6 @@ class DefaultPublishTraverse(object):
# 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 " \
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment