qemu/scripts/qmp
Eduardo Habkost 4803c5cde8 python: futurize -f lib2to3.fixes.fix_numliterals
Convert octal literals into the new syntax.

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 lib2to3.fixes.fix_numliterals $py

Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
Message-Id: <20180608122952.2009-11-ehabkost@redhat.com>
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
2018-06-08 14:39:24 -03:00
..
__init__.py scripts: add __init__.py file to scripts/qmp/ 2016-07-22 13:23:13 +05:30
qemu-ga-client python: futurize -f lib2to3.fixes.fix_standarderror 2018-06-08 14:39:24 -03:00
qmp python: futurize -f lib2to3.fixes.fix_has_key 2018-06-08 14:39:24 -03:00
qmp-shell python: futurize -f lib2to3.fixes.fix_has_key 2018-06-08 14:39:24 -03:00
qmp.py qmp.py: Encode json data before sending 2018-03-12 19:10:16 -03:00
qom-fuse python: futurize -f lib2to3.fixes.fix_numliterals 2018-06-08 14:39:24 -03:00
qom-get python: futurize -f lib2to3.fixes.fix_has_key 2018-06-08 14:39:24 -03:00
qom-list python: futurize -f lib2to3.fixes.fix_has_key 2018-06-08 14:39:24 -03:00
qom-set python: futurize -f lib2to3.fixes.fix_has_key 2018-06-08 14:39:24 -03:00
qom-tree python: futurize -f lib2to3.fixes.fix_has_key 2018-06-08 14:39:24 -03:00