Skip to content

Commit

Permalink
I don't really know how this was broken but a change from
Browse files Browse the repository at this point in the history
b4495eb#diff-f7f065aa241603d275d21b8e191fa844
broke the test plone.app.testing.layers_zserver.rst
  • Loading branch information
pbauer committed May 17, 2019
1 parent 0ce0084 commit 2776959
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/OFS/ObjectManager.py
Original file line number Diff line number Diff line change
Expand Up @@ -769,8 +769,8 @@ def manage_FTPlist(self, REQUEST):

files.sort()

if not hasattr(self, 'isTopLevelPrincipiaApplicationObject') and \
self.isTopLevelPrincipiaApplicationObject:
if not (hasattr(self, 'isTopLevelPrincipiaApplicationObject') and
self.isTopLevelPrincipiaApplicationObject):
files.insert(0, ('..', aq_parent(self)))
files.insert(0, ('.', self))
for k, v in files:
Expand Down

0 comments on commit 2776959

Please sign in to comment.