qemu/scripts/qmp
Eduardo Habkost 068cf7a44c python: futurize -f libfuturize.fixes.fix_absolute_import
Make implicit relative imports explicit and add "from __future__ import
absolute_import" at the top of each relevant module.

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

Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
Message-Id: <20180608122952.2009-3-ehabkost@redhat.com>
Reviewed-by: Stefan Hajnoczi <stefanha@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 libfuturize.fixes.fix_absolute_import 2018-06-08 14:39:24 -03:00
qmp python: futurize -f libfuturize.fixes.fix_absolute_import 2018-06-08 14:39:24 -03:00
qmp-shell python: futurize -f libfuturize.fixes.fix_absolute_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 python: futurize -f libfuturize.fixes.fix_absolute_import 2018-06-08 14:39:24 -03:00
qom-get python: futurize -f libfuturize.fixes.fix_absolute_import 2018-06-08 14:39:24 -03:00
qom-list python: futurize -f libfuturize.fixes.fix_absolute_import 2018-06-08 14:39:24 -03:00
qom-set python: futurize -f libfuturize.fixes.fix_absolute_import 2018-06-08 14:39:24 -03:00
qom-tree python: futurize -f libfuturize.fixes.fix_absolute_import 2018-06-08 14:39:24 -03:00