Permalink
Browse files

add output on remote copy, fixes test cases 27 and 28

  • Loading branch information...
1 parent 7767516 commit ce627101992ef96d583822ea2826e17c2f1ff59e @mdomsch committed with Dec 10, 2012
Showing with 1 addition and 0 deletions.
  1. +1 −0 s3cmd
View
@@ -902,6 +902,7 @@ def remote_copy(s3, copy_pairs, destination_base):
s3.object_copy(dst1_uri, dst2_uri, extra_headers)
info = s3.object_info(dst2_uri)
saved_bytes = saved_bytes + int(info['headers']['content-length'])
+ output(u"remote copy: %s -> %s" % (dst1, dst2))
except:
raise
return (len(copy_pairs), saved_bytes)

0 comments on commit ce62710

Please sign in to comment.