Revision 8ee0ad46
b/pithos/api/functions.py | ||
---|---|---|
397 | 397 |
return response |
398 | 398 |
|
399 | 399 |
try: |
400 |
size, hashmap = backend.get_object_hashmap(v_account, v_container, v_object) |
|
400 |
# TODO: Also check for IndexError. |
|
401 |
size, hashmap = backend.get_object_hashmap(request.user, v_container, v_object) |
|
401 | 402 |
except NameError: |
402 | 403 |
raise ItemNotFound('Object does not exist') |
403 | 404 |
|
Also available in: Unified diff