summary refs log tree commit diff stats
path: root/scripts/qapi-gen.py
diff options
context:
space:
mode:
authorPhilippe Mathieu-Daudé <philmd@redhat.com>2020-01-30 17:32:21 +0100
committerPhilippe Mathieu-Daudé <philmd@redhat.com>2020-02-07 15:12:48 +0100
commitbc7f3b0b0d33fb58272a98c862dc9a1fa913fcd3 (patch)
treec891254becd356dceb8a808da3aa6e7ade302444 /scripts/qapi-gen.py
parent5427ecd4aba2858e3ba2a433ccf1c81d66d0218f (diff)
downloadfocaccia-qemu-bc7f3b0b0d33fb58272a98c862dc9a1fa913fcd3.tar.gz
focaccia-qemu-bc7f3b0b0d33fb58272a98c862dc9a1fa913fcd3.zip
scripts/checkpatch.pl: Only allow Python 3 interpreter
Since commit ddf9069963 QEMU requires Python >= 3.5.

PEP 0394 [*] states that 'python3' should be available and
that 'python' is optional.

To avoid problem with unsupported versions, enforce the
shebang interpreter to Python 3.

[*] https://www.python.org/dev/peps/pep-0394/

Reported-by: John Snow <jsnow@redhat.com>
Acked-by: Paolo Bonzini <pbonzini@redhat.com>
Message-Id: <20200130163232.10446-2-philmd@redhat.com>
Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Diffstat (limited to 'scripts/qapi-gen.py')
0 files changed, 0 insertions, 0 deletions