Skip to content

Commit ba5da8e

Browse files
committed
fix: remove refs to setup
1 parent 9d437d8 commit ba5da8e

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/DIRAC/WorkloadManagementSystem/Agent/PilotLoggingAgent.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -52,8 +52,6 @@ def initialize(self):
5252
if isinstance(self.voList, str):
5353
self.voList = [self.voList]
5454

55-
self.setup = gConfig.getValue("/DIRAC/Setup", None)
56-
5755
return S_OK()
5856

5957
def execute(self):
@@ -65,7 +63,7 @@ def execute(self):
6563
"""
6664
voRes = {}
6765
for vo in self.voList:
68-
self.opsHelper = Operations(vo=vo, setup=self.setup)
66+
self.opsHelper = Operations(vo=vo)
6967
# is remote pilot logging enabled for the VO ?
7068
pilotLogging = self.opsHelper.getValue("/Pilot/RemoteLogging", False)
7169
if pilotLogging:

0 commit comments

Comments
 (0)