History

perf script python: Remove explicit shebang from tests/attr.c

tests/attr.c invokes attr.py via an explicit invocation of Python ($PYTHON) 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).

Tony Jones committed 7 years ago

Commit d72eadb1 parent 099b79c1 file · +0 −1Browse files

Unified · Split

tools/perf/tests/attr.py+0−1
@@ -1,4 +1,3 @@
1#! /usr/bin/python
2# SPDX-License-Identifier: GPL-2.01# SPDX-License-Identifier: GPL-2.0
3 2
4import os3import os