From: Tommi Virtanen Date: Fri, 25 Feb 2011 23:26:49 +0000 (-0800) Subject: pybind/rados: version call return type is void. X-Git-Tag: v0.26~277 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=9591729af14358ebf80e85de4f995eb3eeeac03a;p=ceph.git pybind/rados: version call return type is void. Signed-off-by: Tommi Virtanen --- diff --git a/src/pybind/rados.py b/src/pybind/rados.py index e7cbee93ef62..dc6b542651f8 100755 --- a/src/pybind/rados.py +++ b/src/pybind/rados.py @@ -95,8 +95,8 @@ class Rados(object): major = ctypes.c_int() minor = ctypes.c_int() extra = ctypes.c_int() - ret = self.librados.librados_version(byref(major), byref(minor),\ - byref(extra)) + self.librados.librados_version(byref(major), byref(minor), + byref(extra)) return Version(major.value, minor.value, extra.value) def create_pool(self, pool_name):