Re: [PATCH] tools/kvm_stat: Add Python 3 support to kvm_stat

2017-09-18 Thread Stefan Hajnoczi
On Sun, Sep 17, 2017 at 05:49:51PM +, Jeremy Cline wrote: > Make kvm_stat support Python 3 by changing the use of "print" to a > function rather than a statement and switching from "iteritems" (removed > in Python 3) to "items". > > With this change, kvm_stat is usable with Python 2.6 and grea

[PATCH] tools/kvm_stat: Add Python 3 support to kvm_stat

2017-09-17 Thread Jeremy Cline
Make kvm_stat support Python 3 by changing the use of "print" to a function rather than a statement and switching from "iteritems" (removed in Python 3) to "items". With this change, kvm_stat is usable with Python 2.6 and greater. Signed-off-by: Jeremy Cline --- tools/kvm/kvm_stat/kvm_stat | 13