From d38001c7988f66e719284ebc890315b6269e33ca Mon Sep 17 00:00:00 2001 From: Colin Patrick McCabe Date: Wed, 25 May 2011 14:22:51 -0700 Subject: [PATCH] pybind/rados.py: rados.Object.key should be string Signed-off-by: Colin McCabe --- src/pybind/rados.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pybind/rados.py b/src/pybind/rados.py index 205b04d923107..1d487eb6de33d 100755 --- a/src/pybind/rados.py +++ b/src/pybind/rados.py @@ -214,7 +214,7 @@ class ObjectIterator(object): ret = self.ioctx.librados.rados_objects_list_next(self.ctx, byref(key)) if ret < 0: raise StopIteration() - return Object(self.ioctx, key) + return Object(self.ioctx, key.value) def __del__(self): self.ioctx.librados.rados_objects_list_close(self.ctx) -- 2.39.5