Skip to content

Commit

Permalink
fix another failing test (plone.testing.zserver.rst)
Browse files Browse the repository at this point in the history
  • Loading branch information
pbauer committed May 13, 2019
1 parent 339dd82 commit a764822
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/OFS/ObjectManager.py
Expand Up @@ -795,8 +795,8 @@ def manage_FTPstat(self, REQUEST):
mode = 0o0040000
from AccessControl.User import nobody
# check to see if we are acquiring our objectValues or not
if not len(REQUEST.PARENTS) > 1 and \
self.objectValues() == REQUEST.PARENTS[1].objectValues():
if not (len(REQUEST.PARENTS) > 1 and
self.objectValues() == REQUEST.PARENTS[1].objectValues()):
try:
if getSecurityManager().validate(
None, self, 'manage_FTPlist', self.manage_FTPlist):
Expand Down

0 comments on commit a764822

Please sign in to comment.