From 4025aaa0bd8c6a86e43e916259f65a0d726a8998 Mon Sep 17 00:00:00 2001 From: Anna Schumaker Date: Wed, 25 May 2022 15:05:55 -0400 Subject: [PATCH] colors/xfstests.py: Fix splitting kernel PREEMPT line Signed-off-by: Anna Schumaker --- colors/xfstests.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/colors/xfstests.py b/colors/xfstests.py index f2311b8..648724a 100644 --- a/colors/xfstests.py +++ b/colors/xfstests.py @@ -72,7 +72,7 @@ for line in sys.stdin: if line == "\n": print_config() elif re.match("^[A-Z_]+[ ]+-- .*?\n", line): - if match := re.match("(^PLATFORM(.*?)PREEMPT)(.*?\n)", line): + if match := re.match("(^PLATFORM(.*?)PREEMPT.*?) (.*?\n)", line): add_config(match.group(1)) line = f"COMPILED -- {match.group(3)}" add_config(line)