Skip to content

Commit 9635500

Browse files
authored
Merge pull request #6747 from sfayer/download_order
[v7r3] Reorder pilot downloads to minimise race condition
2 parents 0c1097a + abcd557 commit 9635500

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/DIRAC/WorkloadManagementSystem/Utilities/PilotWrapper.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -193,7 +193,7 @@ def pilotWrapperScript(
193193
from urllib.request import urlopen as url_library_urlopen
194194
from urllib.error import URLError as url_library_URLError
195195
196-
for fileName in ['pilot.json', 'pilot.tar', 'checksums.sha512']:
196+
for fileName in ['checksums.sha512', 'pilot.json', 'pilot.tar']:
197197
# needs to distinguish whether urlopen method contains the 'context' param
198198
# in theory, it should be available from python 2.7.9
199199
# in practice, some prior versions may be composed of recent urllib version containing the param

0 commit comments

Comments
 (0)