Skip to content

Commit

Permalink
moved bucket
Browse files Browse the repository at this point in the history
  • Loading branch information
AaronSeibert committed Jan 10, 2015
1 parent 61c87a6 commit bb250fb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backup_providers/amazons3.py
Expand Up @@ -120,7 +120,7 @@ def split_file(in_file, mb_size, split_num=5):
subprocess.check_call(cl)
return sorted(glob.glob("%s*" % prefix))

mp = bucket.initiate_multipart_upload(s3_key_name, reduced_redundancy=use_rr)
mp = initiate_multipart_upload(bucket, s3_key_name, reduced_redundancy=use_rr)
with self.multimap(cores) as pmap:
for _ in pmap(transfer_part, ((mp.id, mp.key_name, mp.bucket_name, i, part)
for (i, part) in
Expand Down

0 comments on commit bb250fb

Please sign in to comment.