Skip to content

Commit

Permalink
Merge pull request #100 from stigger/resume_fix
Browse files Browse the repository at this point in the history
Fixing resuming with uploadid
  • Loading branch information
uskudnik committed Nov 9, 2012
2 parents 1c5acd4 + c1c253f commit 9760df5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion glacier/GlacierWrapper.py
Original file line number Diff line number Diff line change
Expand Up @@ -1018,7 +1018,7 @@ def upload(self, vault_name, file_name, description, region,
# function to handle non-sequential parts.
for part in list_parts_response['Parts']:
start, stop = (int(p) for p in part['RangeInBytes'].split('-'))
print 'start: %s, current position: %s'% (start, current_position)
stop += 1
if not start == current_position:
if stdin:
raise InputException(
Expand Down

0 comments on commit 9760df5

Please sign in to comment.