Commit 5404ef81 authored by Cecylia Bocovich's avatar Cecylia Bocovich
Browse files

Ensure failure is declared before referenced

This fixes a bug where, if there were no errors in uploading binaries,
failure is referenced before it was ever declared.
parent 1631494e
......@@ -109,6 +109,9 @@ def upload_files(remotes):
for remote in remotes:
remote.upload(filename, arch)
failure = False
#Retry failed uploads
for url in failed_uploads:
filename = url.split('/')[-1]
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment