mirror of
https://github.com/python/cpython.git
synced 2025-07-24 19:54:21 +00:00
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 ........
This commit is contained in:
parent
370d85cee4
commit
2262766de2
1 changed files with 2 additions and 1 deletions
|
@ -36,9 +36,10 @@ def server(evt, serv, dataq=None):
|
|||
data = data[written:]
|
||||
except socket.timeout:
|
||||
pass
|
||||
else:
|
||||
conn.close()
|
||||
finally:
|
||||
serv.close()
|
||||
conn.close()
|
||||
evt.set()
|
||||
|
||||
class GeneralTests(TestCase):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue