summaryrefslogtreecommitdiffstats
path: root/scripts/vmstate-static-checker.py
diff options
context:
space:
mode:
authorEduardo Habkost2018-06-08 14:29:44 +0200
committerEduardo Habkost2018-06-08 19:39:24 +0200
commit068cf7a44cd4d65c05aa877dbebced295be5ce44 (patch)
tree93f47a863716ccd9a7ac71cab206645fb1f1d0b7 /scripts/vmstate-static-checker.py
parentpython: futurize -f libfuturize.fixes.fix_print_with_import (diff)
downloadqemu-068cf7a44cd4d65c05aa877dbebced295be5ce44.tar.gz
qemu-068cf7a44cd4d65c05aa877dbebced295be5ce44.tar.xz
qemu-068cf7a44cd4d65c05aa877dbebced295be5ce44.zip
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>
Diffstat (limited to 'scripts/vmstate-static-checker.py')
0 files changed, 0 insertions, 0 deletions