mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-08-29 12:01:16 +00:00
sync_qemu_models_i386.py: Fix complaint from flake8
Line was too long. Signed-off-by: Tim Wiederhake <twiederh@redhat.com> Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
This commit is contained in:
parent
b4560dc69b
commit
af6b5c1edf
@ -208,7 +208,8 @@ def read_builtin_x86_defs(filename):
|
|||||||
"""Extract content between begin_mark and end_mark from file `filename` as
|
"""Extract content between begin_mark and end_mark from file `filename` as
|
||||||
string, while expanding shorthand macros like "I486_FEATURES"."""
|
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"
|
end_mark = "};\n"
|
||||||
shorthand = re.compile("^#define ([A-Z0-9_]+_FEATURES) (.*)$")
|
shorthand = re.compile("^#define ([A-Z0-9_]+_FEATURES) (.*)$")
|
||||||
lines = list()
|
lines = list()
|
||||||
|
Loading…
Reference in New Issue
Block a user