From a764822be14a5f9ec6bdbd4b330601303b441256 Mon Sep 17 00:00:00 2001 From: Philip Bauer Date: Mon, 13 May 2019 11:59:25 +0200 Subject: [PATCH] fix another failing test (plone.testing.zserver.rst) --- src/OFS/ObjectManager.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/OFS/ObjectManager.py b/src/OFS/ObjectManager.py index ed9f490a00..40f78b86a6 100644 --- a/src/OFS/ObjectManager.py +++ b/src/OFS/ObjectManager.py @@ -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):