From 9591729af14358ebf80e85de4f995eb3eeeac03a Mon Sep 17 00:00:00 2001 From: Tommi Virtanen Date: Fri, 25 Feb 2011 15:26:49 -0800 Subject: [PATCH] pybind/rados: version call return type is void. Signed-off-by: Tommi Virtanen --- src/pybind/rados.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/pybind/rados.py b/src/pybind/rados.py index e7cbee93ef62a..dc6b542651f85 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): -- 2.39.5