From 0e9c2b59d4dfc424435d9cd77a1f99a3237d4fa9 Mon Sep 17 00:00:00 2001 From: knj Date: Tue, 8 Nov 2022 14:13:28 +0100 Subject: [PATCH] only adjust selected modes for MC and no other mode --- ci/run_scheduled_sanitizer_test.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ci/run_scheduled_sanitizer_test.py b/ci/run_scheduled_sanitizer_test.py index 6696e184c2..d2483627df 100644 --- a/ci/run_scheduled_sanitizer_test.py +++ b/ci/run_scheduled_sanitizer_test.py @@ -42,12 +42,12 @@ def get_modes(in_format: str) -> list: list_process = subprocess.run(cmd, capture_output=True) output = list_process.stdout.decode("utf8") + mode_list = output.splitlines() # correction for multichannel modes to avoid selecting some mono modes... if in_format in MC_MODES: in_format = "MC_" + in_format + "_b" - - mode_list = [m for m in output.splitlines() if in_format in m] + mode_list = [m for m in mode_list if in_format in m] return mode_list -- GitLab