Revision 3cebe102 lib/rpc.py
b/lib/rpc.py | ||
---|---|---|
147 | 147 |
ec = errors.OpExecError |
148 | 148 |
raise ec(msg) |
149 | 149 |
|
150 |
def RemoteFailMsg(self): |
|
151 |
"""Check if the remote procedure failed. |
|
152 |
|
|
153 |
@return: the fail_msg attribute |
|
154 |
|
|
155 |
""" |
|
156 |
return self.fail_msg |
|
157 |
|
|
158 | 150 |
|
159 | 151 |
class Client: |
160 | 152 |
"""RPC Client class. |
Also available in: Unified diff