Revision 188649fa ncclient/transport/errors.py

b/ncclient/transport/errors.py
23 23
class SessionCloseError(TransportError):
24 24

  
25 25
    def __init__(self, in_buf, out_buf=None):
26
        msg = 'Unexpected session close.'
26
        msg = 'Unexpected session close'
27 27
        if in_buf:
28
            msg += ' IN_BUFFER: {%s}' % in_buf
28
            msg += '\nIN_BUFFER: {%s}' % in_buf
29 29
        if out_buf:
30 30
            msg += ' OUT_BUFFER: {%s}' % out_buf
31 31
        SSHError.__init__(self, msg)

Also available in: Unified diff