]> git.ipfire.org Git - thirdparty/libvirt.git/commit
python: Don't hardcode interpreter path
authorAndrea Bolognani <abologna@redhat.com>
Tue, 19 Sep 2017 10:42:09 +0000 (12:42 +0200)
committerAndrea Bolognani <abologna@redhat.com>
Tue, 19 Sep 2017 14:04:53 +0000 (16:04 +0200)
commitf34fdd5ab606bb5c39ccfd5d0a54211f53af3a60
tree898aa2876fb81f72865b7db9e7743667f35b6cdc
parent90b17aef1a43717f8813aa088564950cc06650b8
python: Don't hardcode interpreter path

This is particularly useful on operating systems that don't ship
Python as part of the base system (eg. FreeBSD) while still working
just as well as it did before on Linux.

While at it, make it explicit that our scripts are only going to
work with Python 2, and remove the usage of unbuffered I/O, which
as far as I can tell has no effect on the output files.

Signed-off-by: Andrea Bolognani <abologna@redhat.com>
docs/apibuild.py
docs/index.py
docs/reformat-news.py
src/esx/esx_vi_generator.py
src/hyperv/hyperv_wmi_generator.py
tests/cputestdata/cpu-cpuid.py