Skip to content

Commit

Permalink
Remove shebangs from non-executable Python files (#140)
Browse files Browse the repository at this point in the history
Shebangs are only necessary for executable scripts. Removing them from all Python library files which are not intended to be executed.
  • Loading branch information
jleveque authored Nov 5, 2020
1 parent fc3c1a0 commit 9ba8189
Show file tree
Hide file tree
Showing 16 changed files with 0 additions and 16 deletions.
1 change: 0 additions & 1 deletion sonic_fan/fan_base.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
#!/usr/bin/env python
#
# fan_base.py
#
Expand Down
1 change: 0 additions & 1 deletion sonic_led/led_control_base.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
#!/usr/bin/env python
#
# led_control_base.py
#
Expand Down
1 change: 0 additions & 1 deletion sonic_platform_base/sonic_eeprom/eeprom_base.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
#! /usr/bin/python
# Copyright 2012 Cumulus Networks LLC, all rights reserved

#############################################################################
Expand Down
1 change: 0 additions & 1 deletion sonic_platform_base/sonic_eeprom/eeprom_dts.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
#!/usr/bin/python
# Copyright 2012 Cumulus Networks LLC, all rights reserved

try:
Expand Down
1 change: 0 additions & 1 deletion sonic_platform_base/sonic_eeprom/eeprom_tlvinfo.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
#! /usr/bin/python
# Copyright 2012 Cumulus Networks LLC, all rights reserved

#############################################################################
Expand Down
1 change: 0 additions & 1 deletion sonic_platform_base/sonic_pcie/pcie_base.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
#!/usr/bin/env python
#
# pcie_base.py
#
Expand Down
1 change: 0 additions & 1 deletion sonic_platform_base/sonic_sfp/bcmshell.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
#! /usr/bin/python
#-------------------------------------------------------------------------------
#
# Copyright 2012 Cumulus Networks, inc all rights reserved
Expand Down
1 change: 0 additions & 1 deletion sonic_platform_base/sonic_sfp/inf8628.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
#! /usr/bin/env python
#----------------------------------------------------------------------------
# QSFP-DD 8X Transceiver (QSFP Double Density)
#----------------------------------------------------------------------------
Expand Down
1 change: 0 additions & 1 deletion sonic_platform_base/sonic_sfp/qsfp_dd.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
#! /usr/bin/env python
#----------------------------------------------------------------------------
# QSFP-DD 8X Transceiver (QSFP Double Density)
#----------------------------------------------------------------------------
Expand Down
1 change: 0 additions & 1 deletion sonic_platform_base/sonic_sfp/sff8024.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
#! /usr/bin/env python
#----------------------------------------------------------------------------
# SFF-8024 Rev 4.5
#----------------------------------------------------------------------------
Expand Down
1 change: 0 additions & 1 deletion sonic_platform_base/sonic_sfp/sff8436.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
#! /usr/bin/env python
#----------------------------------------------------------------------------
# SFF-8436 QSFP+ 10 Gbs 4X PLUGGABLE TRANSCEIVER
#----------------------------------------------------------------------------
Expand Down
1 change: 0 additions & 1 deletion sonic_platform_base/sonic_sfp/sff8472.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
#! /usr/bin/env python
#--------------------------------------------------------------------------
#
# Copyright 2012 Cumulus Networks, inc all rights reserved
Expand Down
1 change: 0 additions & 1 deletion sonic_platform_base/sonic_sfp/sffbase.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
#! /usr/bin/env python
#----------------------------------------------------------------------------
# sffbase class for sff8436 and sff8472
#----------------------------------------------------------------------------
Expand Down
1 change: 0 additions & 1 deletion sonic_psu/psu_base.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
#!/usr/bin/env python
#
# psu_base.py
#
Expand Down
1 change: 0 additions & 1 deletion sonic_thermal/thermal_base.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
#!/usr/bin/env python
#
# thermal_base.py
#
Expand Down
1 change: 0 additions & 1 deletion sonic_y_cable/y_cable.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
#!/usr/bin/env python
#
# y_cable.py
#
Expand Down

0 comments on commit 9ba8189

Please sign in to comment.