ovs-bugtool.in: Remove unused imports.
authorGurucharan Shetty <guru@ovn.org>
Fri, 3 Jun 2016 11:57:53 +0000 (04:57 -0700)
committerGurucharan Shetty <guru@ovn.org>
Thu, 9 Jun 2016 18:04:44 +0000 (11:04 -0700)
Also take care of a 'import not at top of file' warning from
flake8.

Signed-off-by: Gurucharan Shetty <guru@ovn.org>
Acked-by: Ryan Moats <rmoats@us.ibm.com>
utilities/bugtool/ovs-bugtool.in

index aa4b567..9e1f535 100755 (executable)
@@ -33,9 +33,6 @@
 # or func_output().
 #
 
-import warnings
-warnings.filterwarnings(action="ignore", category=DeprecationWarning)
-
 import getopt
 import re
 import os
@@ -44,19 +41,16 @@ import sys
 import tarfile
 import time
 import commands
-import pprint
 from xml.dom.minidom import parse, getDOMImplementation
 import zipfile
 from subprocess import Popen, PIPE
 from select import select
-from signal import SIGTERM, SIGUSR1
+from signal import SIGTERM
 import md5
 import platform
 import fcntl
-import glob
-import urllib
-import socket
-import base64
+import warnings
+warnings.filterwarnings(action="ignore", category=DeprecationWarning)
 
 OS_RELEASE = platform.release()