Revision 408abf6d ncclient/operations/util.py

b/ncclient/operations/util.py
43 43
def build_filter(spec, capcheck=None):
44 44
    type = None
45 45
    if isinstance(spec, tuple):
46
        type, criteria = tuple
46
        type, criteria = spec
47 47
        rep = {
48 48
            'tag': 'filter',
49 49
            'attrib': {'type': type},

Also available in: Unified diff