Add missing async in UnixConnection in nyasync
This commit is contained in:
parent
3a329fe689
commit
f58217d0cb
@ -38,7 +38,7 @@ class Condition:
|
|||||||
self.monitor.notify_all()
|
self.monitor.notify_all()
|
||||||
|
|
||||||
class UnixConnection:
|
class UnixConnection:
|
||||||
def __init__(self, path):
|
async def __init__(self, path):
|
||||||
(self.reader, self.writer) = await asyncio.open_unix_connection(path)
|
(self.reader, self.writer) = await asyncio.open_unix_connection(path)
|
||||||
|
|
||||||
def __aiter__(self):
|
def __aiter__(self):
|
||||||
|
Loading…
Reference in New Issue
Block a user