Skip to content

Commit

Permalink
Merge pull request #7620 from aldbr/v8.0_FIX_pilot-wrapper-randomize
Browse files Browse the repository at this point in the history
[8.0] fix(wms): remove random shuffle in PilotWrapper
  • Loading branch information
fstagni authored May 16, 2024
2 parents c111713 + 5ba3f73 commit baf7bb5
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/DIRAC/WorkloadManagementSystem/Utilities/PilotWrapper.py
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand Down

0 comments on commit baf7bb5

Please sign in to comment.