Skip to content

Commit 047f14b

Browse files
authored
upload.py should not always fail (#8608)
0778980#r76344981 thx @jjsuwa-sys3175
1 parent 0778980 commit 047f14b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tools/upload.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -70,5 +70,5 @@
7070
finally:
7171
if erase_file:
7272
os.remove(erase_file)
73-
if sys.exc_info:
73+
if any(sys.exc_info()):
7474
sys.exit(2)

0 commit comments

Comments
 (0)