From b4d6080f7b395f3b8e5964ae01574ee0e26d606d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marek=20Marczykowski-G=C3=B3recki?= Date: Thu, 3 Dec 2020 00:59:13 +0100 Subject: [PATCH] Fix asyncio.all_tasks() call --- qubesmanager/utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qubesmanager/utils.py b/qubesmanager/utils.py index 7fb10ea..6b7d828 100644 --- a/qubesmanager/utils.py +++ b/qubesmanager/utils.py @@ -459,7 +459,7 @@ def format_dependencies_list(dependencies): def loop_shutdown(): - pending = asyncio.Task.all_tasks() + pending = asyncio.all_tasks() for task in pending: with suppress(asyncio.CancelledError): task.cancel()