]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
rados.py: add missing space after ','
authorDanny Al-Gaaf <danny.al-gaaf@bisect.de>
Thu, 21 Mar 2013 16:14:02 +0000 (17:14 +0100)
committerDanny Al-Gaaf <danny.al-gaaf@bisect.de>
Thu, 21 Mar 2013 16:14:02 +0000 (17:14 +0100)
Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
src/pybind/rados.py

index cff2c24a64788b554940839cdf882dc6aa0ed639..9c601d6c22480a10e8800dda4e4389ae89170253 100755 (executable)
@@ -361,7 +361,7 @@ ioctx '%s'" % self.ioctx.name)
         name_len = 10
         while True:
             name = create_string_buffer(name_len)
-            ret = self.ioctx.librados.rados_ioctx_snap_get_name(self.ioctx.io,\
+            ret = self.ioctx.librados.rados_ioctx_snap_get_name(self.ioctx.io, \
                                 snap_id, byref(name), name_len)
             if (ret == 0):
                 name_len = ret
@@ -558,7 +558,7 @@ class Ioctx(object):
 
     def change_auid(self, auid):
         self.require_ioctx_open()
-        ret = self.librados.rados_ioctx_pool_set_auid(self.io,\
+        ret = self.librados.rados_ioctx_pool_set_auid(self.io, \
                 ctypes.c_uint64(auid))
         if ret < 0:
             raise make_ex(ret, "error changing auid of '%s' to %lld" %\
@@ -568,7 +568,7 @@ class Ioctx(object):
         self.require_ioctx_open()
         if not isinstance(loc_key, str):
             raise TypeError('loc_key must be a string')
-        self.librados.rados_ioctx_locator_set_key(self.io,\
+        self.librados.rados_ioctx_locator_set_key(self.io, \
                 c_char_p(loc_key))
         self.locator_key = loc_key
 
@@ -758,7 +758,7 @@ written." % (self.name, ret, length))
         if not isinstance(snap_name, str):
             raise TypeError('snap_name must be a string')
         snap_id = c_uint64()
-        ret = self.librados.rados_ioctx_snap_lookup(self.io,\
+        ret = self.librados.rados_ioctx_snap_lookup(self.io, \
                             c_char_p(snap_name), byref(snap_id))
         if (ret != 0):
             raise make_ex(ret, "Failed to lookup snap %s" % snap_name)