@map_wrap
def transfer_part(s3server, mp_id, mp_keyname, mp_bucketname, i, part):
 mp = mp_from_ids(s3server, mp_id, mp_keyname, mp_bucketname)
 with open(part) as t_handle:
  mp.upload_part_from_file(t_handle, (i + 1))
 os.remove(part)

@ map_wrap def transfer_part ( s3server , mp_id , mp_keyname , mp_bucketname , i , part ) : mp = mp_from_ids ( s3server , mp_id , mp_keyname , mp_bucketname ) with open ( part ) as t_handle : mp . upload_part_from_file ( t_handle , ( i + 1 ) ) os . remove ( part )
transfer a part of a multipart upload .