Bug#763537: python-ncclient: with dev.locked(target='candidate') does not work

2015-02-18 Thread Sebastien Badia
On Tue, Sep 30, 2014 at 03:21:07PM (-0300), Leandro Penz wrote: The exception was raised because Lock.__init__ (RPC.__init__ in /usr/lib/python2.7/dist-packages/ncclient/operations/rpc.py) expects a device_handler argument that was not passed. Hi Leandro! Sorry for the delay… Thanks for this b

Bug#763537: python-ncclient: with dev.locked(target='candidate') does not work

2014-09-30 Thread Leandro Penz
Package: python-ncclient Version: 0.4.1-1 Severity: important Tags: upstream Dear Maintainer, After creating a dev with: dev = ncclient.manager.connect(...) I tried to lock the candidate datastore with: with dev.locked(target='candidate'): ... But that raised an exception: