Revision 94803aaf ncclient/operations/lock.py
b/ncclient/operations/lock.py | ||
---|---|---|
14 | 14 |
|
15 | 15 |
'Locking-related NETCONF operations' |
16 | 16 |
|
17 |
# TODO - a context manager around some <target> would be real neat |
|
18 |
|
|
19 |
from rpc import RPC |
|
20 | 17 |
from copy import deepcopy |
21 | 18 |
|
19 |
from ncclient.rpc import RPC |
|
20 |
|
|
21 |
# TODO - a context manager around some <target> would be real neat |
|
22 |
|
|
22 | 23 |
class Lock(RPC): |
23 | 24 |
|
24 | 25 |
SPEC = { |
Also available in: Unified diff