From bc897b84428c8f4a05ef092bd24946de0ad0dd8f Mon Sep 17 00:00:00 2001 From: Mohammad Salehe Date: Thu, 8 May 2014 12:33:42 +0430 Subject: [PATCH] rados.py: clarify recent change on write return value Signed-off-by: Mohammad Salehe --- 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 924b1bff50f1d..bb249473f562e 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): -- 2.47.3