[Python-checkins] python/dist/src/Lib telnetlib.py,1.16.10.1,1.16.10.2

nnorwitz@users.sourceforge.net nnorwitz@users.sourceforge.net
2002年8月11日 13:07:40 -0700


Update of /cvsroot/python/python/dist/src/Lib
In directory usw-pr-cvs1:/tmp/cvs-serv6478/Lib
Modified Files:
 Tag: release22-maint
	telnetlib.py 
Log Message:
Fix SF bug #593696 telnetlib raises UnboundLocalError
Backported from:
revision 1.18
SF 554073. Fix typo in error reporting of unrecognized character
following IAC. Bugfix candidate if anyone cares.
Index: telnetlib.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/telnetlib.py,v
retrieving revision 1.16.10.1
retrieving revision 1.16.10.2
diff -C2 -d -r1.16.10.1 -r1.16.10.2
*** telnetlib.py	16 Feb 2002 23:08:25 -0000	1.16.10.1
--- telnetlib.py	11 Aug 2002 20:07:38 -0000	1.16.10.2
***************
*** 422,426 ****
 self.sock.sendall(IAC + DONT + opt)
 else:
! self.msg('IAC %d not recognized' % ord(opt))
 except EOFError: # raised by self.rawq_getchar()
 pass
--- 422,426 ----
 self.sock.sendall(IAC + DONT + opt)
 else:
! self.msg('IAC %d not recognized' % ord(c))
 except EOFError: # raised by self.rawq_getchar()
 pass

AltStyle によって変換されたページ (->オリジナル) /