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 13, 2019
1 parent 7e00e07 commit 339dd82
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/OFS/ObjectManager.py
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

1 comment on commit 339dd82

@pbauer
Copy link
Member Author

@pbauer pbauer commented on 339dd82 May 17, 2019

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

My misstake, this did not fix anything. But this one did: cee3ef4

Please sign in to comment.