Skip to content

Commit

Permalink
fix(wms): remove random shuffle in PilotWrapper
Browse files Browse the repository at this point in the history
  • Loading branch information
aldbr committed May 16, 2024
1 parent c111713 commit 5ba3f73
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 5ba3f73

Please sign in to comment.