Skip to content

Commit

Permalink
Sort file parts in download JSON
Browse files Browse the repository at this point in the history
  • Loading branch information
synesthesiam committed Mar 1, 2020
1 parent 081f7b3 commit fbbcb2b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/make_download_json.py
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ def main():
"bytes_expected": os.path.getsize(file_name),
}
)
file_details["parts"] = parts
file_details["parts"] = sorted(parts, key=lambda p: p["fragment"])
elif unzip:
file_details["url"] += ".gz"

Expand Down

0 comments on commit fbbcb2b

Please sign in to comment.