Commit d84dfee7 authored by Antoine Pitrou's avatar Antoine Pitrou

Merged revisions 88691 via svnmerge from

svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r88691 | antoine.pitrou | 2011-03-01 01:41:10 +0100 (mar., 01 mars 2011) | 3 lines

  Endly, fix UnboundLocalError in telnetlib
........
parent 6120d87d
......@@ -17,9 +17,10 @@ def server(evt, serv):
conn, addr = serv.accept()
except socket.timeout:
pass
else:
conn.close()
finally:
serv.close()
conn.close()
evt.set()
class GeneralTests(TestCase):
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment