From df63dc41549fa0e997049cb79d82e3f9d66edfe1 Mon Sep 17 00:00:00 2001 From: Robey Pointer Date: Thu, 25 Nov 2004 19:39:34 +0000 Subject: [project @ Arch-1:robey@lag.net--2003-public%secsh--dev--1.0--patch-115] fix CONNECTION_FAILED_CODE oops, fix typo in channel request failed. --- paramiko/transport.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/paramiko/transport.py b/paramiko/transport.py index 0eb9c7c0..134c4f56 100644 --- a/paramiko/transport.py +++ b/paramiko/transport.py @@ -1426,8 +1426,8 @@ class BaseTransport (threading.Thread): reason = m.get_int() reason_str = m.get_string() lang = m.get_string() - if _CONNECTION_FAILED_CODE.has_key(reason): - reason_text = _CONNECTION_FAILED_CODE[reason] + if CONNECTION_FAILED_CODE.has_key(reason): + reason_text = CONNECTION_FAILED_CODE[reason] else: reason_text = '(unknown code)' self._log(INFO, 'Secsh channel %d open FAILED: %s: %s' % (chanid, reason_str, reason_text)) -- cgit v1.2.3