summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChangBo Guo(gcb) <eric.guo@easystack.cn>2014-03-29 11:27:54 +0800
committerChangBo Guo(gcb) <eric.guo@easystack.cn>2014-03-29 11:27:54 +0800
commit3738bff1650da22d978129c6d13ce1833e9fcb82 (patch)
treed6a05f85e3a86db50db38abf26965212888a6d0b
parent19053b6e652d54444af44cff2c7db640b5b5b207 (diff)
downloadoslo-messaging-3738bff1650da22d978129c6d13ce1833e9fcb82.tar.gz
Fix wrong parameter description in docstring
There is duplicated 'param' to same parameter, that should be 'type'. Change-Id: I446a524ea27553e63c800f80edc5074df6e9c53b
-rw-r--r--oslo/messaging/rpc/client.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/oslo/messaging/rpc/client.py b/oslo/messaging/rpc/client.py
index 230988e..30d2450 100644
--- a/oslo/messaging/rpc/client.py
+++ b/oslo/messaging/rpc/client.py
@@ -320,7 +320,7 @@ class RPCClient(object):
:param method: the method name
:type method: str
:param kwargs: a dict of method arguments
- :param kwargs: dict
+ :type kwargs: dict
"""
self.prepare().cast(ctxt, method, **kwargs)
@@ -355,7 +355,7 @@ class RPCClient(object):
:param method: the method name
:type method: str
:param kwargs: a dict of method arguments
- :param kwargs: dict
+ :type kwargs: dict
:raises: MessagingTimeout, RemoteError
"""
return self.prepare().call(ctxt, method, **kwargs)