Skip to content

Commit 97d11c1

Browse files
authored
Merge pull request #8002 from fstagni/90_oneLessFlag
[9.0] fix: one less flag for EnableSecurityLogging
2 parents dcf2fa8 + 6e2247a commit 97d11c1

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/DIRAC/Core/DISET/private/Service.py

+1-3
Original file line numberDiff line numberDiff line change
@@ -100,9 +100,7 @@ def initialize(self):
100100
"validNames": self._validNames,
101101
"csPaths": [PathFinder.getServiceSection(svcName) for svcName in self._validNames],
102102
}
103-
self.securityLogging = Operations().getValue("EnableSecurityLogging", False) and getServiceOption(
104-
self._serviceInfoDict, "EnableSecurityLogging", False
105-
)
103+
self.securityLogging = Operations().getValue("EnableSecurityLogging", False)
106104

107105
# Initialize Monitoring
108106
# The import needs to be here because of the CS must be initialized before importing

0 commit comments

Comments
 (0)