Skip to content

Commit

Permalink
upload.py should not always fail (#8608)
Browse files Browse the repository at this point in the history
  • Loading branch information
mcspr authored Jun 18, 2022
1 parent 0778980 commit 047f14b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/upload.py
Original file line number Diff line number Diff line change
Expand Up @@ -70,5 +70,5 @@
finally:
if erase_file:
os.remove(erase_file)
if sys.exc_info:
if any(sys.exc_info()):
sys.exit(2)

0 comments on commit 047f14b

Please sign in to comment.