From 8a4b6f079b516e939fd55c4014dfcbd20142462f Mon Sep 17 00:00:00 2001 From: Niels de Vos Date: Sun, 30 Sep 2018 16:54:03 +0200 Subject: python: remove shebangs of non-main scripts and make others executable Some of the scripts that have a #!/usr/bin/python3 shebang do not have a main() like function. These scripts will not get executed but only imported. They do not need the shebang. A few others are not installed with 'make install', but do have a main() like function. These scripts are expected to be used by developers for different tasks (mostly code generation). Marking these scripts executable to make it easier to identify them. Change-Id: I73541471deb7e0830766b804786244e73dfe4221 Updates: #411 Signed-off-by: Niels de Vos --- xlators/features/glupy/src/__init__.py.in | 2 -- 1 file changed, 2 deletions(-) (limited to 'xlators/features/glupy/src') diff --git a/xlators/features/glupy/src/__init__.py.in b/xlators/features/glupy/src/__init__.py.in index 3a28658e401..3ad9513f40e 100644 --- a/xlators/features/glupy/src/__init__.py.in +++ b/xlators/features/glupy/src/__init__.py.in @@ -1,4 +1,2 @@ -#!/usr/bin/python3 - from pkgutil import extend_path __path__ = extend_path(__path__, __name__) -- cgit