From 36f169848616dd863a545c11d5f8ebb55987f34e Mon Sep 17 00:00:00 2001 From: Tommi Virtanen Date: Thu, 4 Oct 2012 14:43:15 -0700 Subject: [PATCH] rbd.py: Fix docstring syntax of list_lockers(). Signed-off-by: Tommi Virtanen --- src/pybind/rbd.py | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/src/pybind/rbd.py b/src/pybind/rbd.py index 12584087405d6..1a3f85d84196e 100644 --- a/src/pybind/rbd.py +++ b/src/pybind/rbd.py @@ -651,12 +651,14 @@ written." % (self.name, ret, length)) List clients that have locked the image and information about the lock. - :returns: dict - contains keys tag, exclusive, and lockers - tag - the tag associated with the lock - (every additional locker must use the same tag) - exclusive - boolean indicating whether the lock is - exclusive or shared - lockers - a list of (client, cookie, address) tuples + :returns: dict - contains the following keys: + + * ``tag`` - the tag associated with the lock (every + additional locker must use the same tag) + * ``exclusive`` - boolean indicating whether the + lock is exclusive or shared + * ``lockers`` - a list of (client, cookie, address) + tuples """ clients_size = c_size_t(512) cookies_size = c_size_t(512) -- 2.39.5