From 814526ba2608af207b2d45fc9c2ac290872a71db Mon Sep 17 00:00:00 2001 From: grossmj Date: Sat, 25 Aug 2018 16:00:40 +0700 Subject: [PATCH] Add missing coroutine decorator Ref https://github.com/GNS3/gns3-gui/issues/2566 --- gns3server/utils/asyncio/telnet_server.py | 1 + 1 file changed, 1 insertion(+) diff --git a/gns3server/utils/asyncio/telnet_server.py b/gns3server/utils/asyncio/telnet_server.py index 2e736410..604ab914 100644 --- a/gns3server/utils/asyncio/telnet_server.py +++ b/gns3server/utils/asyncio/telnet_server.py @@ -322,6 +322,7 @@ class AsyncioTelnetServer: else: log.debug("Not supported negotiation sequence, received {} bytes", len(data)) + @asyncio.coroutine def _IAC_parser(self, buf, network_reader, network_writer, connection): """ Processes and removes any Telnet commands from the buffer.