diff --git a/src/DIRAC/FrameworkSystem/Client/TokenManagerClient.py b/src/DIRAC/FrameworkSystem/Client/TokenManagerClient.py index 103cc2c3577..349ddd40625 100644 --- a/src/DIRAC/FrameworkSystem/Client/TokenManagerClient.py +++ b/src/DIRAC/FrameworkSystem/Client/TokenManagerClient.py @@ -86,4 +86,5 @@ def getToken( return result + gTokenManager = TokenManagerClient() diff --git a/src/DIRAC/Resources/Computing/HTCondorCEComputingElement.py b/src/DIRAC/Resources/Computing/HTCondorCEComputingElement.py index 157dadb5a16..7e87e7b442e 100644 --- a/src/DIRAC/Resources/Computing/HTCondorCEComputingElement.py +++ b/src/DIRAC/Resources/Computing/HTCondorCEComputingElement.py @@ -253,7 +253,6 @@ def _reset(self): return S_OK() def _executeCondorCommand(self, cmd, keepTokenFile=False): - tFile = None if self.token: # Create a new token file if we do not keep it across several calls @@ -425,6 +424,7 @@ def getJobStatus(self, jobIDList): condorIDs[job] = jobID self.tokenFile = None + qList = [] for _condorIDs in breakListIntoChunks(condorIDs.values(), 100): # This will return a list of 1245.75 3