Skip to content

Commit

Permalink
Fix stupid typo in my previous commit.
Browse files Browse the repository at this point in the history
  • Loading branch information
opottone committed Aug 8, 2014
1 parent 59ad5e2 commit 36f9e01
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions boto/s3/key.py
Original file line number Diff line number Diff line change
Expand Up @@ -314,8 +314,8 @@ def open_read(self, headers=None, query_args='',
elif name.lower() == 'content-range':
end_range = re.sub('.*/(.*)', '\\1', value)
self.size = int(end_range)
elif name.lower in Key.base_fields:
self.__dict__[name.lower.replace('-', '_')] = value
elif name.lower() in Key.base_fields:
self.__dict__[name.lower().replace('-', '_')] = value
self.handle_version_headers(self.resp)
self.handle_encryption_headers(self.resp)
self.handle_restore_headers(self.resp)
Expand Down

0 comments on commit 36f9e01

Please sign in to comment.