From 5ba3f73a7cd66a0add13308aed994d0b430ec11b Mon Sep 17 00:00:00 2001 From: aldbr Date: Thu, 16 May 2024 16:31:41 +0200 Subject: [PATCH] fix(wms): remove random shuffle in PilotWrapper --- src/DIRAC/WorkloadManagementSystem/Utilities/PilotWrapper.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/DIRAC/WorkloadManagementSystem/Utilities/PilotWrapper.py b/src/DIRAC/WorkloadManagementSystem/Utilities/PilotWrapper.py index 92199e6fc66..a93302d1611 100644 --- a/src/DIRAC/WorkloadManagementSystem/Utilities/PilotWrapper.py +++ b/src/DIRAC/WorkloadManagementSystem/Utilities/PilotWrapper.py @@ -193,9 +193,6 @@ def pilotWrapperScript( location = '%(location)s'.replace(' ', '').split(',') -import random -random.shuffle(location) - # we try from the available locations locs = [os.path.join('https://', loc) if not loc.startswith(('file:', 'https:')) else loc for loc in location] locations = locs + [os.path.join(loc, 'pilot') for loc in locs]