Use fully qualified Context

Fixes an undefined variable error found by pylint
wip-fakessh-exit-status
Alex Willmer 7 years ago committed by David Wilson
parent 57a0aa26bf
commit 3b24314a8b

@ -21,7 +21,7 @@ class Listener(mitogen.core.BasicStream):
def on_receive(self, broker):
sock, addr = self._sock.accept()
context = Context(self._broker, name=addr)
context = mitogen.core.Context(self._broker, name=addr)
stream = mitogen.core.Stream(context)
stream.accept(sock.fileno(), sock.fileno())

Loading…
Cancel
Save