Cancel failed multipart uploads

This commit is contained in:
Matt Jibson 2015-08-31 03:07:44 -04:00
parent 844e773ec4
commit 9aedfc8d2c

View file

@ -163,6 +163,7 @@ class _CloudStorage(BaseStorage):
num_part += 1
io.close()
except IOError:
mp.cancel_upload()
break
mp.complete_upload()