diff options
author | Paul Kehrer <paul.l.kehrer@gmail.com> | 2015-11-08 10:55:34 +0900 |
---|---|---|
committer | Paul Kehrer <paul.l.kehrer@gmail.com> | 2015-11-08 10:55:34 +0900 |
commit | ff0d3754fa57db75ce94c375fbbbdeea7c0d7635 (patch) | |
tree | 48d98bc3d1488ab075a67940c2af263244ed6d4c /tasks.py | |
parent | 8f1a2d564a25dc3bd7f457bd94edda72a64444dd (diff) | |
download | cryptography-ff0d3754fa57db75ce94c375fbbbdeea7c0d7635.tar.gz cryptography-ff0d3754fa57db75ce94c375fbbbdeea7c0d7635.tar.bz2 cryptography-ff0d3754fa57db75ce94c375fbbbdeea7c0d7635.zip |
move bar.done out of the loop because obviously
Diffstat (limited to 'tasks.py')
-rw-r--r-- | tasks.py | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -82,8 +82,8 @@ def download_artifacts(session): for data in response.iter_content(chunk_size=8192): content.write(data) bar.show(content.tell()) - if bar.expected_size == content.tell(): - bar.done() + assert bar.expected_size == content.tell() + bar.done() out_path = os.path.join( os.path.dirname(__file__), "dist", |