From d3abbf0f1eafedada1cfcf6ed7649705d8f4818a Mon Sep 17 00:00:00 2001 From: Laurent Peuch Date: Fri, 8 Jan 2021 03:58:42 +0100 Subject: [PATCH] [fix] we are still in python 3.6 in prod --- yunodiagnoser.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/yunodiagnoser.py b/yunodiagnoser.py index 8f898f8..e5f6816 100644 --- a/yunodiagnoser.py +++ b/yunodiagnoser.py @@ -303,7 +303,8 @@ async def check_port_is_open(ip, port): return False else: writer.close() - await writer.wait_closed() + # XXX we are still in python 3.6 in prod :( + # await writer.wait_closed() return True @@ -382,7 +383,8 @@ async def check_smtp(request): }) finally: writer.close() - await writer.wait_closed() + # XXX we are still in python 3.6 in prod :( + # await writer.wait_closed() return json_response({'status': 'ok', 'helo': helo_domain})