Commit 049a378c authored by Giampaolo Rodola's avatar Giampaolo Rodola

issue 10527: fix missing import

parent 895cc22b
......@@ -318,13 +318,10 @@ connections and dispatches the incoming connections to a handler::
def handle_accept(self):
pair = self.accept()
if pair is None:
pass
else:
if pair is not None:
sock, addr = pair
print 'Incoming connection from %s' % repr(addr)
handler = EchoHandler(sock)
server = EchoServer('localhost', 8080)
asyncore.loop()
......@@ -41,6 +41,7 @@ import errno
import time
import tempfile
import itertools
import select
import _multiprocessing
from multiprocessing import current_process, AuthenticationError
......
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