]> git.ipfire.org Git - thirdparty/tornado.git/commitdiff
Update tornado/ioloop.py 3136/head
authorThomas Grainger <tagrain@gmail.com>
Sun, 1 May 2022 12:50:47 +0000 (13:50 +0100)
committerGitHub <noreply@github.com>
Sun, 1 May 2022 12:50:47 +0000 (13:50 +0100)
tornado/ioloop.py

index 3b95d08e61170fdc4685766ac33199eb2ecbff49..82b38b216007817963604c28065cb479eccd34c2 100644 (file)
@@ -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