Revision 188649fa ncclient/operations/rpc.py

b/ncclient/operations/rpc.py
268 268
    def _build(self, opspec):
269 269
        # internal
270 270
        spec = {
271
            'tag': content.qualify('rpc'),
272
            'attrib': {'message-id': self._id},
271
            'tag': 'rpc',
272
            'attrib': {
273
                'xmlns': content.BASE_NS,
274
                'message-id': self._id
275
                },
273 276
            'subtree': [ opspec ]
274 277
            }
275 278
        return content.dtree2xml(spec)

Also available in: Unified diff