Skip to content

Commit

Permalink
remove unnecessary shebang
Browse files Browse the repository at this point in the history
As file untangle.py is meant to be used only via import and not as directly executed commandline tool the shebang on the beginning is not needed.

The usage of the env python can also have its security implications. 

Having shebang on non-executable file is even being reported as error by some tools - for example Fedora/Red Hat's rpmlint:
https://bugzilla.redhat.com/show_bug.cgi?id=2250689#c4

Best regards
Michal Ambroz
  • Loading branch information
xambroz authored Jan 18, 2024
1 parent 9e3f5ba commit c059f3a
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions untangle.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
#!/usr/bin/env python

"""
untangle
Expand Down

0 comments on commit c059f3a

Please # to comment.