diff options
author | Tony Jones <tonyj@suse.de> | 2019-01-23 16:52:26 -0800 |
---|---|---|
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2019-01-25 15:12:10 +0100 |
commit | 099b79ca25c507ecbb25fb04f434e10415b68de0 (patch) | |
tree | d5d13e27e2cc7f4eefa4b01ce53287d02242fe44 | |
parent | 72e0b15cb24a497d7d0d4707cf51ff40c185ae8c (diff) | |
download | linux-stable-099b79ca25c507ecbb25fb04f434e10415b68de0.tar.gz linux-stable-099b79ca25c507ecbb25fb04f434e10415b68de0.tar.bz2 linux-stable-099b79ca25c507ecbb25fb04f434e10415b68de0.zip |
perf script python: Remove explicit shebang from setup.py
Makefile.perf invokes setup.py via an explicit invocation of python
(PYTHON_WORD) so there is therefore no need for an explicit shebang.
Also most distros follow pep-0394 which recommends that /usr/bin/python
refer only to v2 and so may not exist on the system (if PYTHON=python3).
Signed-off-by: Tony Jones <tonyj@suse.de>
Acked-by: Jiri Olsa <jolsa@kernel.org>
Cc: Jonathan Corbet <corbet@lwn.net>
Cc: Ravi Bangoria <ravi.bangoria@linux.ibm.com>
Cc: Seeteena Thoufeek <s1seetee@linux.vnet.ibm.com>
Link: http://lkml.kernel.org/r/20190124005229.16146-4-tonyj@suse.de
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
-rw-r--r-- | tools/perf/util/setup.py | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/tools/perf/util/setup.py b/tools/perf/util/setup.py index 64d1f36dee99..d3ffc18424b5 100644 --- a/tools/perf/util/setup.py +++ b/tools/perf/util/setup.py @@ -1,5 +1,3 @@ -#!/usr/bin/python - from os import getenv from subprocess import Popen, PIPE from re import sub |