Revision a4850088 ncclient/subject.py
b/ncclient/subject.py | ||
---|---|---|
47 | 47 |
try: |
48 | 48 |
getattr(l, event)(*args, **kwds) |
49 | 49 |
except Exception as e: |
50 |
logger.warning(e) |
|
51 |
|
|
52 |
|
|
53 |
class SessionListener: |
|
54 |
|
|
55 |
def __init__(self): |
|
56 |
self._id2rpc = {} |
|
57 |
self._subscription = None |
|
58 |
|
|
59 |
def reply(self, raw): |
|
60 |
reply = RPCReply(msg) |
|
61 |
id2rpc[reply.id]._deliver(reply) |
|
62 |
|
|
63 |
def error(self, buf): |
|
64 |
pass |
|
50 |
logger.warning(e) |
Also available in: Unified diff