From f58217d0cbe78f7c6b35767b0245f6deda5260dd Mon Sep 17 00:00:00 2001 From: Aleksander Wasaznik Date: Sun, 5 Feb 2017 16:28:40 +0100 Subject: [PATCH] Add missing async in UnixConnection in nyasync --- grzegorz/nyasync.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/grzegorz/nyasync.py b/grzegorz/nyasync.py index 6d2de56..516b496 100644 --- a/grzegorz/nyasync.py +++ b/grzegorz/nyasync.py @@ -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):