Revision 3e022b7b ncclient/operations/session.py

b/ncclient/operations/session.py
25 25
    
26 26
    def deliver(self, reply):
27 27
        RPC.deliver(self, reply)
28
        # can't be too huge a reply, should be ok to parse in callback
29
        self._reply.parse()
30
        if self._reply.ok:
28
        # can't be too huge, should be ok to parse in callback
29
        if self._reply.ok: # (implicitly parse)
31 30
            self._session.expect_close()
32 31
        self._session.close()
33 32
    

Also available in: Unified diff