issue #278: tty logger Side constructed with incorrect Stream
Harmless, but produced the wrong log message prefix.
This commit is contained in:
parent
04b65020ac
commit
0e958ea177
|
@ -617,7 +617,7 @@ class TtyLogStream(mitogen.core.BasicStream):
|
||||||
"""
|
"""
|
||||||
|
|
||||||
def __init__(self, tty_fd, stream):
|
def __init__(self, tty_fd, stream):
|
||||||
self.receive_side = mitogen.core.Side(stream, tty_fd)
|
self.receive_side = mitogen.core.Side(self, tty_fd)
|
||||||
self.transmit_side = self.receive_side
|
self.transmit_side = self.receive_side
|
||||||
self.stream = stream
|
self.stream = stream
|
||||||
self.buf = ''
|
self.buf = ''
|
||||||
|
|
Loading…
Reference in New Issue