diff options
author | Robey Pointer <robey@lag.net> | 2004-11-25 19:39:34 +0000 |
---|---|---|
committer | Robey Pointer <robey@lag.net> | 2004-11-25 19:39:34 +0000 |
commit | df63dc41549fa0e997049cb79d82e3f9d66edfe1 (patch) | |
tree | 33fc265c0da37367b0e5a2c251ff52fc12964cfe | |
parent | 13f818f04f53573f873a019874dbdaec79e5365e (diff) |
[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.
-rw-r--r-- | paramiko/transport.py | 4 |
1 files 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)) |