Skip to content

Commit e56c26d

Browse files
committed
Remove some unused imports and variables
1 parent c82c967 commit e56c26d

File tree

3 files changed

+1
-3
lines changed

3 files changed

+1
-3
lines changed

scripts/pifconfig

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@
1414
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
1515
# General Public License for more details.
1616

17-
import getopt
1817
import ethtool
1918
import sys
2019
from optparse import OptionParser

tests/parse_ifconfig.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -934,7 +934,7 @@ def test_parse_ip4addr(self):
934934

935935
def test_local(self):
936936
# Actually invoke ifconfig locally, and parse whatever it emits:
937-
ifconfig = IfConfig()
937+
IfConfig()
938938

939939

940940
if __name__ == '__main__':

tests/test_ethtool.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@
1919
# Author: Dave Malcolm <dmalcolm@redhat.com>
2020
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2121

22-
import sys
2322
import unittest
2423

2524
import ethtool

0 commit comments

Comments
 (0)