lab.nexedi.com will be down from Thursday, 20 March 2025, 07:30:00 UTC for a duration of approximately 2 hours

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): ...@@ -140,8 +140,6 @@ class DefaultPublishTraverse(object):
# object has a pseudo-docstring for the object. Objects that # object has a pseudo-docstring for the object. Objects that
# have an empty or missing docstring are not published. # have an empty or missing docstring are not published.
doc = getattr(subobject, '__doc__', None) doc = getattr(subobject, '__doc__', None)
if doc is None:
doc = getattr(object, '%s__doc__' % name, None)
if not doc: if not doc:
raise Forbidden( raise Forbidden(
"The object at %s has an empty or missing " \ "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