projects
/
pithos
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7912c32
)
bug fix put object
author
Sofia Papagiannaki
<papagian@gmail.com>
Thu, 21 Jul 2011 07:49:51 +0000
(10:49 +0300)
committer
Sofia Papagiannaki
<papagian@gmail.com>
Thu, 21 Jul 2011 07:49:51 +0000
(10:49 +0300)
tools/store
patch
|
blob
|
history
diff --git
a/tools/store
b/tools/store
index
1eaa17d
..
61a3041
100755
(executable)
--- a/
tools/store
+++ b/
tools/store
@@
-409,8
+409,7
@@
class PutObject(Command):
elif not f:
self.client.create_zero_length_object(container, object, meta=meta, **args)
else:
- data = f.read()
- self.client.create_object(container, object, data, meta=meta, **args)
+ self.client.create_object(container, object, f, meta=meta, **args)
if f:
f.close()