[Python-bugs-list] [ python-Bugs-555900 ] telnetlib: UnboundLocalError
noreply@sourceforge.net
noreply@sourceforge.net
Wed, 15 May 2002 13:50:36 -0700
Bugs item #555900, was opened at 2002-05-14 08:37
You can respond by visiting:
http://sourceforge.net/tracker/?func=detail&atid=105470&aid=555900&group_id=5470
Category: Python Library
Group: Python 2.2
>Status: Closed
>Resolution: Fixed
Priority: 5
Submitted By: Jeroen Vloothuis (slmm)
Assigned to: Nobody/Anonymous (nobody)
Summary: telnetlib: UnboundLocalError
Initial Comment:
When i run my script i get this:
Traceback (most recent call last):
File "./zis.py", line 13, in ?
tn.read_until("Usernummer : ")
File "/usr/lib/python2.2/telnetlib.py", line 297, in
read_until
self.process_rawq()
File "/usr/lib/python2.2/telnetlib.py", line 424, in
process_rawq
self.msg('IAC %d not recognized' % ord(opt))
UnboundLocalError: local variable 'opt' referenced
before assignment
----------------------------------------------------------------------
>Comment By: A.M. Kuchling (akuchling)
Date: 2002-05-15 16:50
Message:
Logged In: YES
user_id=11375
Fixed in current CVS (rev. 1.18 of telnetlib.py).
Duplicate of bug 554073.
----------------------------------------------------------------------
You can respond by visiting:
http://sourceforge.net/tracker/?func=detail&atid=105470&aid=555900&group_id=5470