qemu-block
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-block] [RFC 03/10] python: futurize -f libfuturize.fixes.fix_n


From: Stefan Hajnoczi
Subject: Re: [Qemu-block] [RFC 03/10] python: futurize -f libfuturize.fixes.fix_next_call
Date: Mon, 14 May 2018 15:26:54 +0100
User-agent: Mutt/1.9.5 (2018-04-13)

On Fri, May 11, 2018 at 07:20:45PM -0300, Eduardo Habkost wrote:
> Change obj.next() calls to next(obj).
> 
> This is necessary for Python 3 compatibility.
> 
> Done using:
> 
>   $ py=$( (g grep -l -E '^#!.*python';find -name '*.py' -printf '%P\n';) | \
>     sort -u | grep -v README.sh4)
>   $ futurize -w -f libfuturize.fixes.fix_next_call $py
> 
> Signed-off-by: Eduardo Habkost <address@hidden>
> ---
>  scripts/ordereddict.py            | 4 ++--
>  scripts/vmstate-static-checker.py | 4 ++--
>  tests/image-fuzzer/runner.py      | 2 +-
>  3 files changed, 5 insertions(+), 5 deletions(-)

Reviewed-by: Stefan Hajnoczi <address@hidden>

Attachment: signature.asc
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]