]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
pybind/rados: version call return type is void.
authorTommi Virtanen <tommi.virtanen@dreamhost.com>
Fri, 25 Feb 2011 23:26:49 +0000 (15:26 -0800)
committerTommi Virtanen <tommi.virtanen@dreamhost.com>
Fri, 25 Feb 2011 23:26:49 +0000 (15:26 -0800)
Signed-off-by: Tommi Virtanen <tommi.virtanen@dreamhost.com>
src/pybind/rados.py

index e7cbee93ef62a84b8369b8fe8988301a38778346..dc6b542651f85c6c314178befce0613c75ff5e6e 100755 (executable)
@@ -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):