Revision 2f8bc438 ncclient/rpc/__init__.py
b/ncclient/rpc/__init__.py | ||
---|---|---|
13 | 13 |
# limitations under the License. |
14 | 14 |
|
15 | 15 |
from rpc import RPC |
16 |
from reply import RPCReply |
|
16 |
from reply import RPCReply, RPCError
|
|
17 | 17 |
|
18 |
from ncclient import RPCError
|
|
18 |
import ncclient
|
|
19 | 19 |
|
20 |
class ReplyTimeoutError(RPCError): pass |
|
20 |
class ReplyTimeoutError(ncclient.RPCError): |
|
21 |
pass |
|
21 | 22 |
|
22 | 23 |
__all__ = [ |
23 | 24 |
'RPC', |
24 | 25 |
'RPCReply', |
26 |
'RPCError', |
|
25 | 27 |
'ReplyTimeoutError' |
26 | 28 |
] |
Also available in: Unified diff