projects
/
pithos
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4288ade
)
Fix object GET.
author
Antony Chazapis
<chazapis@gmail.com>
Fri, 27 May 2011 16:39:25 +0000
(19:39 +0300)
committer
Antony Chazapis
<chazapis@gmail.com>
Fri, 27 May 2011 16:39:25 +0000
(19:39 +0300)
pithos/api/functions.py
patch
|
blob
|
history
diff --git
a/pithos/api/functions.py
b/pithos/api/functions.py
index
b7fcb84
..
58dd06a
100644
(file)
--- a/
pithos/api/functions.py
+++ b/
pithos/api/functions.py
@@
-397,7
+397,8
@@
def object_read(request, v_account, v_container, v_object):
return response
try:
- size, hashmap = backend.get_object_hashmap(v_account, v_container, v_object)
+ # TODO: Also check for IndexError.
+ size, hashmap = backend.get_object_hashmap(request.user, v_container, v_object)
except NameError:
raise ItemNotFound('Object does not exist')