We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0778980 commit 047f14bCopy full SHA for 047f14b
tools/upload.py
@@ -70,5 +70,5 @@
70
finally:
71
if erase_file:
72
os.remove(erase_file)
73
- if sys.exc_info:
+ if any(sys.exc_info()):
74
sys.exit(2)
0 commit comments