We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ce71973 commit 7dc73e6Copy full SHA for 7dc73e6
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