]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
tools/kvm_stat: switch to python3
authorStefan Raspl <stefan.raspl@de.ibm.com>
Tue, 15 Jan 2019 10:17:54 +0000 (11:17 +0100)
committerKhalid Elmously <khalid.elmously@canonical.com>
Wed, 6 Feb 2019 04:53:01 +0000 (04:53 +0000)
commit88e0006ce79dbb587ecd4c6d0d13523b551958b5
tree45b43eb3127a248d2bffa117787f65ce41792fc8
parentc5cf54d357d6cf7da5764a36f00ae558d328041b
tools/kvm_stat: switch to python3

BugLink: https://bugs.launchpad.net/bugs/1798776
The current shebang does not work in environments that only support python3
and have no python2 installed. Plus there does not seem to be a way to
support python2 and python3 at the same time. Since all known python3 issues
were fixed, and as python3 is the way to go, let's switch over.
Note that the code is still python2 compliant, so folks in bad use can
simply revert the shebang.

Suggested-by: Christian Ehrhardt <christian.ehrhardt@canonical.com>
Signed-off-by: Stefan Raspl <raspl@linux.ibm.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
(cherry picked from commit 09f70c3b70e7d9e209a820b54dda42502fa40711)
Signed-off-by: Juerg Haefliger <juergh@canonical.com>
Acked-by: Kleber Souza <kleber.souza@canonical.com>
Acked-by: Stefan Bader <stefan.bader@canonical.com>
Signed-off-by: Khalid Elmously <khalid.elmously@canonical.com>
tools/kvm/kvm_stat/kvm_stat