]> Git Repo - qemu.git/commit - scripts/vmstate-static-checker.py
python: futurize -f libfuturize.fixes.fix_next_call
authorEduardo Habkost <[email protected]>
Fri, 8 Jun 2018 12:29:45 +0000 (09:29 -0300)
committerEduardo Habkost <[email protected]>
Fri, 8 Jun 2018 17:39:24 +0000 (14:39 -0300)
commitd24d523c14f5f519e04ea49bbe066323bb795879
tree476a8452733a3d2d470361fb5c20b598c75b8fce
parent068cf7a44cd4d65c05aa877dbebced295be5ce44
python: futurize -f libfuturize.fixes.fix_next_call

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

Reviewed-by: Stefan Hajnoczi <[email protected]>
Signed-off-by: Eduardo Habkost <[email protected]>
Message-Id: <20180608122952[email protected]>
Signed-off-by: Eduardo Habkost <[email protected]>
scripts/ordereddict.py
scripts/vmstate-static-checker.py
tests/image-fuzzer/runner.py
This page took 0.026272 seconds and 4 git commands to generate.