[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20170918093240.GA31063@stefanha-x1.localdomain>
Date: Mon, 18 Sep 2017 10:32:40 +0100
From: Stefan Hajnoczi <stefanha@...il.com>
To: Jeremy Cline <jeremy@...ine.org>
Cc: Paolo Bonzini <pbonzini@...hat.com>,
Radim Krčmář <rkrcmar@...hat.com>,
kvm@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] tools/kvm_stat: Add Python 3 support to kvm_stat
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@...ine.org>
> ---
> tools/kvm/kvm_stat/kvm_stat | 13 +++++++------
> 1 file changed, 7 insertions(+), 6 deletions(-)
Reviewed-by: Stefan Hajnoczi <stefanha@...hat.com>
Powered by blists - more mailing lists