From: Philippe Mathieu-Daudé Date: Thu, 30 Jan 2020 16:32:26 +0000 (+0100) Subject: scripts/minikconf: Explicit usage of Python 3 X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=b92e7dae2b2626c0afc8ac980660b2ffc3e35bf0;p=qemu.git scripts/minikconf: Explicit usage of Python 3 Use the program search path to find the Python 3 interpreter. Patch created manually after running: $ git grep -l 'if __name__.*__main__' \ | xargs grep -LF '#!/usr/bin/env python3' Reported-by: Vladimir Sementsov-Ogievskiy Suggested-by: Daniel P. Berrangé Suggested-by: Stefan Hajnoczi Acked-by: Stefan Hajnoczi Acked-by: Paolo Bonzini Message-Id: <20200130163232.10446-7-philmd@redhat.com> Signed-off-by: Philippe Mathieu-Daudé --- diff --git a/scripts/minikconf.py b/scripts/minikconf.py index 40ae1989e1..377d6228b9 100644 --- a/scripts/minikconf.py +++ b/scripts/minikconf.py @@ -1,3 +1,4 @@ +#!/usr/bin/env python3 # # Mini-Kconfig parser #