]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
pybind/rados: Fix binary omap values.
authorRobin H. Johnson <robin.johnson@dreamhost.com>
Fri, 9 Oct 2015 21:59:01 +0000 (14:59 -0700)
committerRobin H. Johnson <robin.johnson@dreamhost.com>
Fri, 9 Oct 2015 23:28:55 +0000 (16:28 -0700)
commitdb03d3027f876fbe94e11d395659abee87986c74
treebd3830dc4b6c70ab53f4d9d922bd8285f9d42043
parent1e017ef63da9a8d28a8ecb03bf25a1701723a4a6
pybind/rados: Fix binary omap values.

The prior code caused binary omap values to be discarded. This fixes
them to use the same model as the xattr iterator, and correctly return
binary data as python strings, eg:
'object_prefix': '\x15\x00\x00\x00rbd_data.449d2ae8944a'

Signed-off-by: Robin H. Johnson <robin.johnson@dreamhost.com>
src/pybind/rados.py