Permalink
Browse files

Merge pull request #1395 from reinhillmann/bugfix

Fixed a "not defined" bug with resumable upload handler.
  • Loading branch information...
mfschwartz committed Mar 14, 2013
2 parents c01a428 + ef1b214 commit 8a95cd0eae797c2a73d45406867afe7805e52d40
Showing with 1 addition and 1 deletion.
  1. +1 −1 boto/gs/resumable_upload_handler.py
@@ -175,7 +175,7 @@ def get_upload_id(self):
# logic anyway.
delim = '?upload_id='
if self.tracker_uri and delim in self.tracker_uri:
- return uri[uri.index(delim) + len(delim):]
+ return self.tracker_uri[self.tracker_uri.index(delim) + len(delim):]
else:
return None

0 comments on commit 8a95cd0

Please sign in to comment.