Skip to content

Commit 9ba8189

Browse files
authored
Remove shebangs from non-executable Python files (#140)
Shebangs are only necessary for executable scripts. Removing them from all Python library files which are not intended to be executed.
1 parent fc3c1a0 commit 9ba8189

File tree

16 files changed

+0
-16
lines changed

16 files changed

+0
-16
lines changed

sonic_fan/fan_base.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
#!/usr/bin/env python
21
#
32
# fan_base.py
43
#

sonic_led/led_control_base.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
#!/usr/bin/env python
21
#
32
# led_control_base.py
43
#

sonic_platform_base/sonic_eeprom/eeprom_base.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
#! /usr/bin/python
21
# Copyright 2012 Cumulus Networks LLC, all rights reserved
32

43
#############################################################################

sonic_platform_base/sonic_eeprom/eeprom_dts.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
#!/usr/bin/python
21
# Copyright 2012 Cumulus Networks LLC, all rights reserved
32

43
try:

sonic_platform_base/sonic_eeprom/eeprom_tlvinfo.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
#! /usr/bin/python
21
# Copyright 2012 Cumulus Networks LLC, all rights reserved
32

43
#############################################################################

sonic_platform_base/sonic_pcie/pcie_base.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
#!/usr/bin/env python
21
#
32
# pcie_base.py
43
#

sonic_platform_base/sonic_sfp/bcmshell.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
#! /usr/bin/python
21
#-------------------------------------------------------------------------------
32
#
43
# Copyright 2012 Cumulus Networks, inc all rights reserved

sonic_platform_base/sonic_sfp/inf8628.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
#! /usr/bin/env python
21
#----------------------------------------------------------------------------
32
# QSFP-DD 8X Transceiver (QSFP Double Density)
43
#----------------------------------------------------------------------------

sonic_platform_base/sonic_sfp/qsfp_dd.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
#! /usr/bin/env python
21
#----------------------------------------------------------------------------
32
# QSFP-DD 8X Transceiver (QSFP Double Density)
43
#----------------------------------------------------------------------------

sonic_platform_base/sonic_sfp/sff8024.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
#! /usr/bin/env python
21
#----------------------------------------------------------------------------
32
# SFF-8024 Rev 4.5
43
#----------------------------------------------------------------------------

sonic_platform_base/sonic_sfp/sff8436.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
#! /usr/bin/env python
21
#----------------------------------------------------------------------------
32
# SFF-8436 QSFP+ 10 Gbs 4X PLUGGABLE TRANSCEIVER
43
#----------------------------------------------------------------------------

sonic_platform_base/sonic_sfp/sff8472.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
#! /usr/bin/env python
21
#--------------------------------------------------------------------------
32
#
43
# Copyright 2012 Cumulus Networks, inc all rights reserved

sonic_platform_base/sonic_sfp/sffbase.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
#! /usr/bin/env python
21
#----------------------------------------------------------------------------
32
# sffbase class for sff8436 and sff8472
43
#----------------------------------------------------------------------------

sonic_psu/psu_base.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
#!/usr/bin/env python
21
#
32
# psu_base.py
43
#

sonic_thermal/thermal_base.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
#!/usr/bin/env python
21
#
32
# thermal_base.py
43
#

sonic_y_cable/y_cable.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
#!/usr/bin/env python
21
#
32
# y_cable.py
43
#

0 commit comments

Comments
 (0)