Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1733903
| From | Stefan Hajnoczi <stefanha@gmail.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH] tools/kvm_stat: Add Python 3 support to kvm_stat |
| Date | 2017-09-18 11:40 +0200 |
| Message-ID | <ur0GZ-4j6-1@gated-at.bofh.it> (permalink) |
| References | <uqLRD-2Eg-5@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On Sun, Sep 17, 2017 at 05:49:51PM +0000, 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 greater. > > Signed-off-by: Jeremy Cline <jeremy@jcline.org> > --- > tools/kvm/kvm_stat/kvm_stat | 13 +++++++------ > 1 file changed, 7 insertions(+), 6 deletions(-) Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
Back to linux.kernel | Previous | Next — Previous in thread | Find similar | Unroll thread
[PATCH] tools/kvm_stat: Add Python 3 support to kvm_stat Jeremy Cline <jeremy@jcline.org> - 2017-09-17 19:50 +0200 Re: [PATCH] tools/kvm_stat: Add Python 3 support to kvm_stat Stefan Hajnoczi <stefanha@gmail.com> - 2017-09-18 11:40 +0200
csiph-web