Skip to content

Commit

Permalink
Remove redundant python imports (#484)
Browse files Browse the repository at this point in the history
Remove unused imports from all python files that
are not auto generated
  • Loading branch information
GalSagie authored and changlan committed May 29, 2017
1 parent 55f6522 commit 75b8fae
Show file tree
Hide file tree
Showing 8 changed files with 0 additions and 13 deletions.
1 change: 0 additions & 1 deletion bessctl/bessctl
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
import sys
import os
import os.path
import pprint
import cStringIO
import tempfile
import time
Expand Down
1 change: 0 additions & 1 deletion bessctl/commands.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
import socket
import fcntl
import errno
import glob
import re
import subprocess
import pprint
Expand Down
1 change: 0 additions & 1 deletion bessctl/sugar.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
import re
import tokenize
import parser
import string
from StringIO import StringIO

'''
Expand Down
2 changes: 0 additions & 2 deletions build.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,6 @@
import sys
import os
import os.path
import time
import urllib
import subprocess
import textwrap
import argparse
Expand Down
1 change: 0 additions & 1 deletion container_build.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
import subprocess
import os
import os.path
import time

IMAGE = 'nefelinetworks/bess_build:latest' + os.getenv('TAG_SUFFIX', '')
BESS_DIR_HOST = os.path.dirname(os.path.abspath(__file__))
Expand Down
5 changes: 0 additions & 5 deletions libbess-python/bess.py
Original file line number Diff line number Diff line change
@@ -1,12 +1,7 @@
import errno
import grpc
import inspect
import os
import pprint
import socket
import struct
import sys
import threading
import time

import service_pb2
Expand Down
1 change: 0 additions & 1 deletion libbess-python/bess_test.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import unittest
import bess_msg_pb2 as bess_msg
import error_pb2 as error_msg
import service_pb2
import grpc
import bess
Expand Down
1 change: 0 additions & 1 deletion libbess-python/protobuf_to_dict_test.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import unittest
import bess_msg_pb2 as bess_msg
import error_pb2 as error_msg
import protobuf_to_dict as pb_conv


Expand Down

0 comments on commit 75b8fae

Please sign in to comment.