]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
rados.py: clarify recent change on write return value 1830/head
authorMohammad Salehe <salehe+dev@gmail.com>
Thu, 8 May 2014 08:03:42 +0000 (12:33 +0430)
committerMohammad Salehe <salehe+dev@gmail.com>
Mon, 19 May 2014 21:18:33 +0000 (01:48 +0430)
Signed-off-by: Mohammad Salehe <salehe+dev@gmail.com>
src/pybind/rados.py

index 924b1bff50f1d8770fc0d7629a0d78578545257b..bb249473f562e01f58058bcc0abcdb47e57695a2 100644 (file)
@@ -1202,7 +1202,7 @@ class Ioctx(object):
 
         :raises: :class:`TypeError`
         :raises: :class:`LogicError`
-        :returns: int - number of bytes written
+        :returns: int - 0 on success
         """
         self.require_ioctx_open()
         if not isinstance(key, str):
@@ -1267,7 +1267,7 @@ returned %d, but should return zero on success." % (self.name, ret))
 
         :raises: :class:`TypeError`
         :raises: :class:`LogicError`
-        :returns: int - number of bytes written
+        :returns: int - 0 on success
         """
         self.require_ioctx_open()
         if not isinstance(key, str):