From: Mohammad Salehe Date: Thu, 8 May 2014 08:03:42 +0000 (+0430) Subject: rados.py: clarify recent change on write return value X-Git-Tag: v0.82~74^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=bc897b84428c8f4a05ef092bd24946de0ad0dd8f;p=ceph.git rados.py: clarify recent change on write return value Signed-off-by: Mohammad Salehe --- diff --git a/src/pybind/rados.py b/src/pybind/rados.py index 924b1bff50f1..bb249473f562 100644 --- a/src/pybind/rados.py +++ b/src/pybind/rados.py @@ -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):