File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed
ConfigurationSystem/Client/Helpers
WorkloadManagementSystem/Client Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -457,7 +457,7 @@ def getVOForGroup(group):
457
457
458
458
:return: str
459
459
"""
460
- return getVO () or gConfig .getValue (f"{ gBaseRegistrySection } /Groups/{ group } /VO" , "" )
460
+ return gConfig .getValue (f"{ gBaseRegistrySection } /Groups/{ group } /VO" , "" ) or getVO ( )
461
461
462
462
463
463
def getIdPForGroup (group ):
Original file line number Diff line number Diff line change 47
47
def addTokenToPEM (pemPath , group ):
48
48
from DIRAC .Core .Base .Client import Client
49
49
50
- vo = Registry .getVOMSVOForGroup (group )
50
+ vo = Registry .getVOForGroup (group )
51
51
if not vo :
52
52
gLogger .error (f"ERROR: Could not find VO for group { group } , DiracX will not work!" )
53
53
disabledVOs = gConfig .getValue ("/DiracX/DisabledVOs" , [])
Original file line number Diff line number Diff line change 10
10
class JobStateUpdateClient (Client ):
11
11
"""JobStateUpdateClient sets url for the JobStateUpdateHandler."""
12
12
13
- diracxClient = futureJobStateUpdateClient
13
+ diracxClient = None
14
14
15
15
def __init__ (self , url = None , ** kwargs ):
16
16
"""
You can’t perform that action at this time.
0 commit comments