]> xenbits.xensource.com Git - libvirt.git/commitdiff
sync_qemu_models_i386.py: Fix complaint from flake8
authorTim Wiederhake <twiederh@redhat.com>
Wed, 24 May 2023 08:02:10 +0000 (10:02 +0200)
committerTim Wiederhake <twiederh@redhat.com>
Fri, 26 May 2023 06:43:27 +0000 (08:43 +0200)
Line was too long.

Signed-off-by: Tim Wiederhake <twiederh@redhat.com>
Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
src/cpu_map/sync_qemu_models_i386.py

index 37bbe6d09eb310dfdc65f859723739ee5efcbc1e..4974b30b4358e683c88aaa204ac6671a24beb933 100755 (executable)
@@ -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()