qemu/scripts/qmp
Eduardo Habkost f03868bd56 python: futurize -f libfuturize.fixes.fix_print_with_import
Change all Python code to use print as a function.

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_print_with_import $py

Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
Acked-by: Fam Zheng <famz@redhat.com>
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
Message-Id: <20180608122952.2009-2-ehabkost@redhat.com>
[ehabkost: fixup tests/docker/docker.py]
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 libfuturize.fixes.fix_print_with_import 2018-06-08 14:39:24 -03:00
qmp python: futurize -f libfuturize.fixes.fix_print_with_import 2018-06-08 14:39:24 -03:00
qmp-shell python: futurize -f libfuturize.fixes.fix_print_with_import 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
qom-get python: futurize -f libfuturize.fixes.fix_print_with_import 2018-06-08 14:39:24 -03:00
qom-list python: futurize -f libfuturize.fixes.fix_print_with_import 2018-06-08 14:39:24 -03:00
qom-set python: futurize -f libfuturize.fixes.fix_print_with_import 2018-06-08 14:39:24 -03:00
qom-tree python: futurize -f libfuturize.fixes.fix_print_with_import 2018-06-08 14:39:24 -03:00