From af6b5c1edf0a3b8f05a27a2922a360c2a11a67a8 Mon Sep 17 00:00:00 2001 From: Tim Wiederhake Date: Wed, 24 May 2023 10:02:10 +0200 Subject: [PATCH] sync_qemu_models_i386.py: Fix complaint from flake8 Line was too long. Signed-off-by: Tim Wiederhake Reviewed-by: Michal Privoznik --- src/cpu_map/sync_qemu_models_i386.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/cpu_map/sync_qemu_models_i386.py b/src/cpu_map/sync_qemu_models_i386.py index 37bbe6d09e..4974b30b43 100755 --- a/src/cpu_map/sync_qemu_models_i386.py +++ b/src/cpu_map/sync_qemu_models_i386.py @@ -208,7 +208,8 @@ def read_builtin_x86_defs(filename): """Extract content between begin_mark and end_mark from file `filename` as string, while expanding shorthand macros like "I486_FEATURES".""" - begin_mark = re.compile("^static( const)? X86CPUDefinition builtin_x86_defs\\[\\] = {$") + begin_mark = re.compile( + "^static( const)? X86CPUDefinition builtin_x86_defs\\[\\] = {$") end_mark = "};\n" shorthand = re.compile("^#define ([A-Z0-9_]+_FEATURES) (.*)$") lines = list()