Repored by Jason Woodall to s3tools-bugs 2014-01-06.
Matt Domsch authored on 2014/01/08 03:10:23... | ... |
@@ -767,6 +767,8 @@ def cmd_sync_remote2remote(args): |
767 | 767 |
seq = _upload(failed_copy_files, seq, failed_copy_count) |
768 | 768 |
|
769 | 769 |
total_elapsed = time.time() - timestamp_start |
770 |
+ if total_elapsed == 0.0: |
|
771 |
+ total_elapsed = 1.0 |
|
770 | 772 |
outstr = "Done. Copied %d files in %0.1f seconds, %0.2f files/s" % (seq, total_elapsed, seq/total_elapsed) |
771 | 773 |
if seq > 0: |
772 | 774 |
output(outstr) |