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]