From bf40eebf73955f404149d7562b3c9f036afe73f8 Mon Sep 17 00:00:00 2001 From: Nick Brassel Date: Fri, 29 Sep 2023 12:48:13 +1000 Subject: [PATCH] `qmk format-python` --- lib/python/qmk/util.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/python/qmk/util.py b/lib/python/qmk/util.py index d57bce951c9..47c43a76f51 100644 --- a/lib/python/qmk/util.py +++ b/lib/python/qmk/util.py @@ -4,6 +4,7 @@ import contextlib import functools import multiprocessing + @contextlib.contextmanager def parallelize(do_parallel): """Returns a function that can be used in place of a map() call. @@ -24,4 +25,3 @@ def parallelize(do_parallel): with multiprocessing.Pool() as pool: yield pool.imap_unordered - return