Skip to content

Commit 4bde07f

Browse files
committed
fix: use not in instead of not ... in
1 parent b25df6a commit 4bde07f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/DIRAC/DataManagementSystem/DB/FileCatalogComponents/SecurityManager/SecurityManagerBase.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ def hasAccess(self, opType, paths, credDict):
6969

7070
successful = {}
7171
failed = {}
72-
if not opType.lower() in ["read", "write", "execute"]:
72+
if opType.lower() not in ["read", "write", "execute"]:
7373
return S_ERROR("Operation type not known")
7474
if self.db.globalReadAccess and (opType.lower() == "read"):
7575
for path in paths:

0 commit comments

Comments
 (0)