diff options
author | Guido van Rossum <guido@python.org> | 2002-05-13 14:55:33 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 2002-05-13 14:55:33 (GMT) |
commit | 6a1bd39d8ee0155df47557f4fb5db0913e59468f (patch) | |
tree | 6e12829349aa1d989e5be8ed38a83087f646eeab | |
parent | 1755ad9b026d63bbff707e0d33b738e18499b3e9 (diff) | |
download | cpython-6a1bd39d8ee0155df47557f4fb5db0913e59468f.zip cpython-6a1bd39d8ee0155df47557f4fb5db0913e59468f.tar.gz cpython-6a1bd39d8ee0155df47557f4fb5db0913e59468f.tar.bz2 |
SF 554073. Fix typo in error reporting of unrecognized character
following IAC. Bugfix candidate if anyone cares.
-rw-r--r-- | Lib/telnetlib.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/telnetlib.py b/Lib/telnetlib.py index cdbbd9f..656e97b 100644 --- a/Lib/telnetlib.py +++ b/Lib/telnetlib.py @@ -421,7 +421,7 @@ class Telnet: else: self.sock.sendall(IAC + DONT + opt) else: - self.msg('IAC %d not recognized' % ord(opt)) + self.msg('IAC %d not recognized' % ord(c)) except EOFError: # raised by self.rawq_getchar() pass self.cookedq = self.cookedq + buf |