no need for weakvaluedict in RPCReplyListener, after all
[ncclient] / test.py
1 from ncclient import manager
2
3 import logging
4 logging.basicConfig(level=logging.DEBUG)
5
6 with manager.connect('broccoli', 22, username='sbhushan') as m:
7     with m.locked('candidate'):
8         reply = m.copy_config(source='running', target='candidate')
9
10 print reply