Jeremy Cline 9cc5fbbb8c tools/kvm_stat: Add Python 3 support to kvm_stat
Make kvm_stat support Python 3 by changing the use of "print" to a
function rather than a statement, switching from "iteritems" and
"iterkeys" (removed in Python 3) to "items" and "keys" respectively,
and decoding bytes to strings when dealing with text.

With this change, kvm_stat is usable with Python 2.6 and greater.

Signed-off-by: Jeremy Cline <jeremy@jcline.org>
Signed-off-by: Radim Krčmář <rkrcmar@redhat.com>
2017-10-12 14:01:50 +02:00
..
2017-08-09 14:31:58 +01:00
2017-09-13 09:25:10 +02:00
2017-09-29 19:31:46 +02:00
2017-09-14 13:46:33 -07:00
2017-09-14 13:46:33 -07:00
2017-07-26 12:25:28 +01:00
2017-09-27 10:51:08 -07:00
2017-02-22 16:41:26 -08:00
2017-09-05 11:40:38 -07:00