Commit 127fb227 authored by 's avatar

- whitespace cleanup

parent 7e7c3397
...@@ -75,7 +75,6 @@ class DefaultPublishTraverse(object): ...@@ -75,7 +75,6 @@ class DefaultPublishTraverse(object):
if name[:1]=='_': if name[:1]=='_':
raise Forbidden("Object name begins with an underscore at: %s" % URL) raise Forbidden("Object name begins with an underscore at: %s" % URL)
if hasattr(object,'__bobo_traverse__'): if hasattr(object,'__bobo_traverse__'):
try: try:
subobject=object.__bobo_traverse__(request, name) subobject=object.__bobo_traverse__(request, name)
...@@ -130,7 +129,6 @@ class DefaultPublishTraverse(object): ...@@ -130,7 +129,6 @@ class DefaultPublishTraverse(object):
except TypeError: # unsubscriptable except TypeError: # unsubscriptable
raise KeyError(name) raise KeyError(name)
# Ensure that the object has a docstring, or that the parent # Ensure that the object has a docstring, or that the parent
# 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.
...@@ -705,7 +703,6 @@ def old_validation(groups, request, auth, ...@@ -705,7 +703,6 @@ def old_validation(groups, request, auth,
return None return None
# This mapping contains the built-in types that gained docstrings # This mapping contains the built-in types that gained docstrings
# between Python 2.1 and 2.2.2. By specifically checking for these # between Python 2.1 and 2.2.2. By specifically checking for these
# types during publishing, we ensure the same publishing rules in # types during publishing, we ensure the same publishing rules in
......
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