From: Tim Wiederhake Date: Wed, 24 May 2023 08:02:10 +0000 (+0200) Subject: sync_qemu_models_i386.py: Fix complaint from flake8 X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=af6b5c1edf0a3b8f05a27a2922a360c2a11a67a8;p=libvirt.git sync_qemu_models_i386.py: Fix complaint from flake8 Line was too long. Signed-off-by: Tim Wiederhake Reviewed-by: Michal Privoznik --- 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()