Revision 874cddc7 snf-pithos-app/pithos/api/util.py
b/snf-pithos-app/pithos/api/util.py | ||
---|---|---|
581 | 581 |
[replace_permissions_username(x) for x in ret.get('read', [])] |
582 | 582 |
ret['write'] = \ |
583 | 583 |
[replace_permissions_username(x) for x in ret.get('write', [])] |
584 |
except ItemNotFound, e:
|
|
584 |
except ItemNotExists, e:
|
|
585 | 585 |
raise BadRequest( |
586 | 586 |
'Bad X-Object-Sharing header value: unknown account: %s' % e) |
587 | 587 |
|
Also available in: Unified diff