From: "Philippe Mathieu-Daudé" <philmd@redhat.com> To: qemu-devel@nongnu.org Cc: "Stefan Hajnoczi" <stefanha@redhat.com>, kvm@vger.kernel.org, "Kevin Wolf" <kwolf@redhat.com>, "Juan Quintela" <quintela@redhat.com>, "Cleber Rosa" <crosa@redhat.com>, "Eduardo Habkost" <ehabkost@redhat.com>, "Richard Henderson" <rth@twiddle.net>, "Max Reitz" <mreitz@redhat.com>, "Alex Bennée" <alex.bennee@linaro.org>, "Fam Zheng" <fam@euphon.net>, "Michael Roth" <mdroth@linux.vnet.ibm.com>, "Vladimir Sementsov-Ogievskiy" <vsementsov@virtuozzo.com>, "Markus Armbruster" <armbru@redhat.com>, "Paolo Bonzini" <pbonzini@redhat.com>, "Philippe Mathieu-Daudé" <philmd@redhat.com>, "Daniel P . Berrangé" <berrange@redhat.com>, qemu-block@nongnu.org, "Dr. David Alan Gilbert" <dgilbert@redhat.com> Subject: [PATCH 04/10] scripts/minikconf: Explicit usage of Python 3 Date: Thu, 30 Jan 2020 00:13:56 +0100 [thread overview] Message-ID: <20200129231402.23384-5-philmd@redhat.com> (raw) In-Reply-To: <20200129231402.23384-1-philmd@redhat.com> 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 <vsementsov@virtuozzo.com> Suggested-by: Daniel P. Berrangé <berrange@redhat.com> Suggested-by: Stefan Hajnoczi <stefanha@redhat.com> Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com> --- scripts/minikconf.py | 1 + 1 file changed, 1 insertion(+) 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 # -- 2.21.1
WARNING: multiple messages have this Message-ID (diff)
From: "Philippe Mathieu-Daudé" <philmd@redhat.com> To: qemu-devel@nongnu.org Cc: "Kevin Wolf" <kwolf@redhat.com>, "Fam Zheng" <fam@euphon.net>, "Vladimir Sementsov-Ogievskiy" <vsementsov@virtuozzo.com>, "Daniel P . Berrangé" <berrange@redhat.com>, "Eduardo Habkost" <ehabkost@redhat.com>, kvm@vger.kernel.org, "Juan Quintela" <quintela@redhat.com>, "Markus Armbruster" <armbru@redhat.com>, "Philippe Mathieu-Daudé" <philmd@redhat.com>, "Michael Roth" <mdroth@linux.vnet.ibm.com>, "Max Reitz" <mreitz@redhat.com>, "Stefan Hajnoczi" <stefanha@redhat.com>, "Cleber Rosa" <crosa@redhat.com>, "Paolo Bonzini" <pbonzini@redhat.com>, qemu-block@nongnu.org, "Alex Bennée" <alex.bennee@linaro.org>, "Dr. David Alan Gilbert" <dgilbert@redhat.com>, "Richard Henderson" <rth@twiddle.net> Subject: [PATCH 04/10] scripts/minikconf: Explicit usage of Python 3 Date: Thu, 30 Jan 2020 00:13:56 +0100 [thread overview] Message-ID: <20200129231402.23384-5-philmd@redhat.com> (raw) In-Reply-To: <20200129231402.23384-1-philmd@redhat.com> 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 <vsementsov@virtuozzo.com> Suggested-by: Daniel P. Berrangé <berrange@redhat.com> Suggested-by: Stefan Hajnoczi <stefanha@redhat.com> Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com> --- scripts/minikconf.py | 1 + 1 file changed, 1 insertion(+) 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 # -- 2.21.1
next prev parent reply other threads:[~2020-01-29 23:14 UTC|newest] Thread overview: 37+ messages / expand[flat|nested] mbox.gz Atom feed top 2020-01-29 23:13 [PATCH 00/10] python: Explicit usage of Python 3 Philippe Mathieu-Daudé 2020-01-29 23:13 ` Philippe Mathieu-Daudé 2020-01-29 23:13 ` [PATCH 01/10] scripts: " Philippe Mathieu-Daudé 2020-01-29 23:13 ` Philippe Mathieu-Daudé 2020-01-30 9:13 ` Juan Quintela 2020-01-29 23:13 ` [PATCH 02/10] tests/qemu-iotests: " Philippe Mathieu-Daudé 2020-01-29 23:13 ` Philippe Mathieu-Daudé 2020-01-29 23:13 ` [PATCH 03/10] tests: " Philippe Mathieu-Daudé 2020-01-29 23:13 ` Philippe Mathieu-Daudé 2020-01-29 23:13 ` Philippe Mathieu-Daudé [this message] 2020-01-29 23:13 ` [PATCH 04/10] scripts/minikconf: " Philippe Mathieu-Daudé 2020-01-29 23:13 ` [PATCH 05/10] tests/acceptance: Remove shebang header Philippe Mathieu-Daudé 2020-01-29 23:13 ` Philippe Mathieu-Daudé 2020-01-30 14:34 ` Wainer dos Santos Moschetta 2020-01-30 14:34 ` Wainer dos Santos Moschetta 2020-01-29 23:13 ` [PATCH 06/10] scripts/tracetool: " Philippe Mathieu-Daudé 2020-01-29 23:13 ` Philippe Mathieu-Daudé 2020-01-29 23:13 ` [PATCH 07/10] tests/vm: " Philippe Mathieu-Daudé 2020-01-29 23:13 ` Philippe Mathieu-Daudé 2020-01-29 23:14 ` [PATCH 08/10] tests/qemu-iotests: Explicit usage of Python 3 Philippe Mathieu-Daudé 2020-01-29 23:14 ` Philippe Mathieu-Daudé 2020-01-29 23:14 ` [PATCH 09/10] scripts: " Philippe Mathieu-Daudé 2020-01-29 23:14 ` Philippe Mathieu-Daudé 2020-01-29 23:14 ` [PATCH 10/10] tests/qemu-iotests/check: Update to match Python 3 interpreter Philippe Mathieu-Daudé 2020-01-29 23:14 ` Philippe Mathieu-Daudé 2020-01-30 10:58 ` Kevin Wolf 2020-01-30 10:58 ` Kevin Wolf 2020-01-30 13:34 ` Philippe Mathieu-Daudé 2020-01-30 13:34 ` Philippe Mathieu-Daudé 2020-01-30 14:02 ` [PATCH 00/10] python: Explicit usage of Python 3 Vladimir Sementsov-Ogievskiy 2020-01-30 14:02 ` Vladimir Sementsov-Ogievskiy 2020-01-30 15:04 ` Philippe Mathieu-Daudé 2020-01-30 15:04 ` Philippe Mathieu-Daudé 2020-01-30 15:29 ` Vladimir Sementsov-Ogievskiy 2020-01-30 15:29 ` Vladimir Sementsov-Ogievskiy 2020-01-30 16:18 ` Stefan Hajnoczi 2020-01-30 16:18 ` Stefan Hajnoczi
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=20200129231402.23384-5-philmd@redhat.com \ --to=philmd@redhat.com \ --cc=alex.bennee@linaro.org \ --cc=armbru@redhat.com \ --cc=berrange@redhat.com \ --cc=crosa@redhat.com \ --cc=dgilbert@redhat.com \ --cc=ehabkost@redhat.com \ --cc=fam@euphon.net \ --cc=kvm@vger.kernel.org \ --cc=kwolf@redhat.com \ --cc=mdroth@linux.vnet.ibm.com \ --cc=mreitz@redhat.com \ --cc=pbonzini@redhat.com \ --cc=qemu-block@nongnu.org \ --cc=qemu-devel@nongnu.org \ --cc=quintela@redhat.com \ --cc=rth@twiddle.net \ --cc=stefanha@redhat.com \ --cc=vsementsov@virtuozzo.com \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.