[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH v2] scripts/gdb: Fix a python exception in mtree
From: |
Stefan Hajnoczi |
Subject: |
Re: [Qemu-devel] [PATCH v2] scripts/gdb: Fix a python exception in mtree.py |
Date: |
Mon, 7 Dec 2015 15:26:50 +0800 |
User-agent: |
Mutt/1.5.24 (2015-08-30) |
On Sat, Dec 05, 2015 at 07:52:20PM +0800, Yang Wei wrote:
> The following exception is threw:
> Python Exception <class 'NameError'> name 'long' is not defined:
> Error occurred in Python command: name 'long' is not defined
>
> Python 2.4+, int()/long() have been unified, so replace long
> with int.
>
> Signed-off-by: Yang Wei <address@hidden>
> ---
> scripts/qemugdb/mtree.py | 10 +++++-----
> 1 file changed, 5 insertions(+), 5 deletions(-)
Thanks, applied to my block-next tree:
https://github.com/stefanha/qemu/commits/block-next
Stefan
signature.asc
Description: PGP signature