From: Thomas Grainger Date: Sun, 1 May 2022 12:50:47 +0000 (+0100) Subject: Update tornado/ioloop.py X-Git-Tag: v6.2.0b1~5^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F3136%2Fhead;p=thirdparty%2Ftornado.git Update tornado/ioloop.py --- diff --git a/tornado/ioloop.py b/tornado/ioloop.py index 3b95d08e6..82b38b216 100644 --- a/tornado/ioloop.py +++ b/tornado/ioloop.py @@ -178,9 +178,7 @@ class IOLoop(Configurable): if isinstance(impl, str): impl = import_object(impl) if isinstance(impl, type) and not issubclass(impl, BaseAsyncIOLoop): - raise RuntimeError( - "only AsyncIOLoop is allowed when asyncio is available" - ) + raise RuntimeError("only AsyncIOLoop is allowed when asyncio is available") super(IOLoop, cls).configure(impl, **kwargs) @staticmethod