Revision 05325a35 lib/rpc.py
b/lib/rpc.py | ||
---|---|---|
150 | 150 |
"""RPC Result class. |
151 | 151 |
|
152 | 152 |
This class holds an RPC result. It is needed since in multi-node |
153 |
calls we can't raise an exception just because one one out of many
|
|
153 |
calls we can't raise an exception just because one out of many |
|
154 | 154 |
failed, and therefore we use this class to encapsulate the result. |
155 | 155 |
|
156 | 156 |
@ivar data: the data payload, for successful results, or None |
... | ... | |
405 | 405 |
@param body: dictionary with request bodies per host |
406 | 406 |
@type read_timeout: int or None |
407 | 407 |
@param read_timeout: Read timeout for request |
408 |
@rtype: dictionary |
|
409 |
@return: a dictionary mapping host names to rpc.RpcResult objects |
|
408 | 410 |
|
409 | 411 |
""" |
410 | 412 |
assert read_timeout is not None, \ |
Also available in: Unified diff