Revision 9667bcb2 ncclient/transport/errors.py

b/ncclient/transport/errors.py
25 25
    def __init__(self, in_buf, out_buf=None):
26 26
        msg = 'Unexpected session close'
27 27
        if in_buf:
28
            msg += '\nIN_BUFFER: {%s}' % in_buf
28
            msg += '\nIN_BUFFER: `%s`' % in_buf
29 29
        if out_buf:
30
            msg += ' OUT_BUFFER: {%s}' % out_buf
30
            msg += ' OUT_BUFFER: `%s`' % out_buf
31 31
        SSHError.__init__(self, msg)
32 32

  
33 33
class SSHError(TransportError):

Also available in: Unified diff