Permalink
Browse files

Fix bug when reading from files

  • Loading branch information...
1 parent c993d90 commit e74202724735da474fea72709e3eb85e62934d6f @twpayne twpayne committed Nov 17, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 s3-parallel-put
View
@@ -81,7 +81,7 @@ class Value(object):
self.content = file_object.read(self.size)
elif self.path:
with open(self.path) as file_object:
- self.content = file_object.read(self.size)
+ self.content = file_object.read()
else:
assert False
return self.content

0 comments on commit e742027

Please sign in to comment.