Browse code

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

Matt Domsch authored on 2012/12/10 13:17:12
Showing 1 changed files
... ...
@@ -902,6 +902,7 @@ def remote_copy(s3, copy_pairs, destination_base):
902 902
             s3.object_copy(dst1_uri, dst2_uri, extra_headers)
903 903
             info = s3.object_info(dst2_uri)
904 904
             saved_bytes = saved_bytes + int(info['headers']['content-length'])
905
+            output(u"remote copy: %s -> %s" % (dst1, dst2))
905 906
         except:
906 907
             raise
907 908
     return (len(copy_pairs), saved_bytes)