Revision 133e3fcf snf-pithos-backend/pithos/backends/modular.py
b/snf-pithos-backend/pithos/backends/modular.py | ||
---|---|---|
925 | 925 |
raise ie |
926 | 926 |
|
927 | 927 |
hash = map.hash() |
928 |
dest_version_id = self._update_object_hash(user, account, container, name, size, type, binascii.hexlify(hash), checksum, domain, meta, replace_meta, permissions) |
|
928 |
hexlified = binascii.hexlify(hash) |
|
929 |
dest_version_id = self._update_object_hash(user, account, container, name, size, type, hexlified, checksum, domain, meta, replace_meta, permissions) |
|
929 | 930 |
self.store.map_put(hash, map) |
930 |
return dest_version_id |
|
931 |
return dest_version_id, hexlified
|
|
931 | 932 |
|
932 | 933 |
def update_object_checksum(self, user, account, container, name, version, checksum): |
933 | 934 |
"""Update an object's checksum.""" |
Also available in: Unified diff