From: Christian Heimes Date: Fri, 4 May 2018 20:52:17 +0000 (+0200) Subject: Remove unnecessary shebang lines (#189) X-Git-Url: https://git.madduck.net/etc/vim.git/commitdiff_plain/adf4ebd2d9540dd0812e2db0e5735a5d28d31d81?ds=inline;hp=e84dee52d91d84d58b7a77096ba9cce761317366 Remove unnecessary shebang lines (#189) Since black.py is not marked as executable, the shebang in black.py serves no purpose. black should be invoked through its entry point any way. token.py is an internal module without a __name__ == '__main__' block or other executable code. It contains just list of constants and small helper functions. Signed-off-by: Christian Heimes --- diff --git a/black.py b/black.py index 5e087d1..fdefb74 100644 --- a/black.py +++ b/black.py @@ -1,5 +1,3 @@ -#!/usr/bin/env python3 - import asyncio import pickle from asyncio.base_events import BaseEventLoop diff --git a/blib2to3/pgen2/token.py b/blib2to3/pgen2/token.py old mode 100755 new mode 100644 index 1a67955..c37b0d5 --- a/blib2to3/pgen2/token.py +++ b/blib2to3/pgen2/token.py @@ -1,5 +1,3 @@ -#! /usr/bin/env python3 - """Token constants (from "token.h").""" # Taken from Python (r53757) and modified to include some tokens