qemu-e2k/scripts
Philippe Mathieu-Daudé d2cdbd54db scripts: Explicit usage of Python 3 (scripts without __main__)
Use the program search path to find the Python 3 interpreter.

Patch created mechanically by running:

  $ sed -i "s,^#\!/usr/bin/\(env\ \)\?python$,#\!/usr/bin/env python3," \
      $(git grep -lF '#!/usr/bin/env python' \
      | xargs grep -L 'if __name__.*__main__')

Reported-by: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>
Suggested-by: Daniel P. Berrangé <berrange@redhat.com>
Suggested-by: Stefan Hajnoczi <stefanha@redhat.com>
Acked-by: Stefan Hajnoczi <stefanha@redhat.com>
Acked-by: Paolo Bonzini <pbonzini@redhat.com>
Message-Id: <20200130163232.10446-12-philmd@redhat.com>
Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com>
2020-02-07 15:15:16 +01:00
..
coccinelle qemu-iotests: convert `pwd` and $(pwd) to $PWD 2018-11-19 10:08:19 -06:00
kvm scripts: Explicit usage of Python 3 (scripts with __main__) 2020-02-07 15:12:48 +01:00
modules Include qemu-common.h exactly where needed 2019-06-12 13:20:20 +02:00
qapi qapi: Fix code generation with Python 3.5 2020-01-20 12:17:38 +00:00
qemu-guest-agent qemu-guest-agent: freeze-hook to ignore dpkg files as well 2018-08-23 18:46:25 +02:00
qemugdb scripts/qemugdb: re-license timers.py to GPLv2 or later 2019-03-12 08:04:22 +01:00
qmp scripts: Explicit usage of Python 3 (scripts with __main__) 2020-02-07 15:12:48 +01:00
tracetool scripts/tracetool: Remove shebang header 2020-02-07 15:12:48 +01:00
travis travis: add gcovr summary for GCOV build 2018-07-05 15:59:41 +01:00
analyse-9p-simpletrace.py scripts: Explicit usage of Python 3 (scripts without __main__) 2020-02-07 15:15:16 +01:00
analyse-locks-simpletrace.py scripts: Explicit usage of Python 3 (scripts with __main__) 2020-02-07 15:12:48 +01:00
analyze-inclusions Move target-* CPU file into a target/ folder 2016-12-20 21:52:12 +01:00
analyze-migration.py analyze-migration.py: replace numpy with python 3.2 2019-12-16 10:59:50 -05:00
archive-source.sh archive-source: also create a stash for submodules 2019-07-23 15:53:25 +01:00
checkpatch.pl scripts/checkpatch.pl: Only allow Python 3 interpreter 2020-02-07 15:12:48 +01:00
clean-header-guards.pl scripts/clean-header-guards: Fix handling of trailing comments 2019-06-12 13:20:20 +02:00
clean-includes scripts/clean-includes: added duplicate #include check 2016-10-28 18:17:23 +03:00
cleanup-trace-events.pl scripts/cleanup-trace-events: Update for current practice 2019-03-22 16:18:07 +00:00
cocci-macro-file.h QEMU_PACKED: Remove gcc_struct attribute in Windows non x86 targets 2019-05-07 12:55:02 +01:00
coverity-model.c coverity-model: Fix replay_get_byte() 2018-07-05 15:09:52 +02:00
create_config create_config: remove $(CONFIG_SOFTMMU) hack 2019-07-15 20:58:37 +02:00
decodetree.py scripts: Explicit usage of Python 3 (scripts with __main__) 2020-02-07 15:12:48 +01:00
device-crash-test scripts: Explicit usage of Python 3 (scripts with __main__) 2020-02-07 15:12:48 +01:00
disas-objdump.pl scripts: Switch to more portable Perl shebang 2017-05-10 10:19:24 +03:00
dump-guest-memory.py global: Squash 'the the' 2019-11-06 17:19:40 +01:00
extract-vsssdk-headers Add a script to extract VSS SDK headers on POSIX system 2013-09-09 14:17:56 -05:00
feature_to_c.sh scripts: Use $(..) instead of deprecated `..` 2016-06-07 18:19:23 +03:00
fix-multiline-comments.sh scripts: add script to convert multiline comments into 4-line format 2019-01-11 15:46:55 +01:00
get_maintainer.pl scripts: Detect git worktrees for get_maintainer.pl --git 2019-11-19 10:00:36 +01:00
git-submodule.sh git-submodule.sh: Modern shell scripting (use $() instead of ``) 2018-10-16 18:34:19 +02:00
git.orderfile scripts/git.orderfile: Display decodetree before C source 2020-01-21 15:26:09 -10:00
hxtool hxtool: Support SRST/ERST directives 2020-02-03 10:46:32 +00:00
kernel-doc docs: tweak kernel-doc for QEMU coding standards 2019-12-17 19:36:57 +01:00
make-release make-release: pull in edk2 submodules so we can build it from tarballs 2019-10-07 14:54:45 +02:00
minikconf.py scripts/minikconf: Explicit usage of Python 3 2020-02-07 15:12:48 +01:00
qapi-gen.py scripts: Explicit usage of Python 3 (scripts with __main__) 2020-02-07 15:12:48 +01:00
qemu-binfmt-conf.sh scripts/qemu-binfmt-conf: Update for sparc64 2019-11-06 13:28:27 +01:00
qemu-gdb.py qemugdb: fix licensing 2019-03-11 16:55:52 +01:00
qemu-trace-stap trace: update qemu-trace-stap to Python 3 2020-01-13 16:42:20 +00:00
refresh-pxe-roms.sh roms: rewrite scripts/refresh-pxe-roms.sh 2013-09-30 09:44:35 +02:00
render_block_graph.py scripts: Explicit usage of Python 3 (scripts with __main__) 2020-02-07 15:12:48 +01:00
replay-dump.py scripts: Explicit usage of Python 3 (scripts with __main__) 2020-02-07 15:12:48 +01:00
shaderinclude.pl scripts: Switch to more portable Perl shebang 2017-05-10 10:19:24 +03:00
show-fixed-bugs.sh show-fixed-bugs.sh: Modern shell scripting (use $() instead of ``) 2018-10-16 18:34:19 +02:00
signrom.py python: futurize -f libfuturize.fixes.fix_print_with_import 2018-06-08 14:39:24 -03:00
simpletrace.py scripts: Explicit usage of Python 3 (scripts with __main__) 2020-02-07 15:12:48 +01:00
switch-timer-api scripts: Switch to more portable Perl shebang 2017-05-10 10:19:24 +03:00
tap-driver.pl tap: flush STDOUT on newline 2019-02-05 16:50:16 +01:00
tap-merge.pl tap: flush STDOUT on newline 2019-02-05 16:50:16 +01:00
texi2pod.pl maint: Allow for EXAMPLES in texi2pod 2019-01-21 15:49:51 -06:00
tracetool.py scripts: Explicit usage of Python 3 (scripts with __main__) 2020-02-07 15:12:48 +01:00
update-linux-headers.sh virtiofsd: Pull in kernel's fuse.h 2020-01-23 16:41:36 +00:00
vmstate-static-checker.py scripts: Explicit usage of Python 3 (scripts with __main__) 2020-02-07 15:12:48 +01:00