Add missing async in UnixConnection in nyasync

This commit is contained in:
Aleksander Wasaznik 2017-02-05 16:28:40 +01:00
parent 3a329fe689
commit f58217d0cb

View File

@ -38,7 +38,7 @@ class Condition:
self.monitor.notify_all()
class UnixConnection:
def __init__(self, path):
async def __init__(self, path):
(self.reader, self.writer) = await asyncio.open_unix_connection(path)
def __aiter__(self):