From 7860c3b3659dfd94a7075265cb32819dc6cb2681 Mon Sep 17 00:00:00 2001 From: Rusty Bird Date: Mon, 15 Feb 2021 14:10:41 +0000 Subject: [PATCH] utils: "parallel" -> "concurrent" --- qubes/utils.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/qubes/utils.py b/qubes/utils.py index fbb176fd..50e266dd 100644 --- a/qubes/utils.py +++ b/qubes/utils.py @@ -253,8 +253,8 @@ def coro_maybe(value): @asyncio.coroutine def void_coros_maybe(values): ''' Ignore elements of the iterable values that are not coroutine - objects. Run all coroutine objects to completion, in parallel - to each other. If there were exceptions, re-raise the leftmost + objects. Run all coroutine objects to completion, concurrent + with each other. If there were exceptions, raise the leftmost one (not necessarily chronologically first). Return nothing. ''' coros = [val for val in values if asyncio.iscoroutine(val)]