summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDylan Baker <baker.dylan.c@gmail.com>2014-07-09 14:56:07 -0700
committerKenneth Graunke <kenneth@whitecape.org>2014-07-13 23:31:19 -0700
commit192545c6aacc422101a485911552dedacebfe835 (patch)
treeed0d17372c0d0f1222c315801baa7627b300b972
parent0db3a4dee5d64081bc7729e661485012d81d8a20 (diff)
python: cleanup imports
Split imports one module per line and remove any unused imports. Signed-off-by: Dylan Baker <baker.dylan.c@gmail.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
-rwxr-xr-xreport.py3
-rwxr-xr-xrun.py4
-rwxr-xr-xsplit-to-files.py6
3 files changed, 6 insertions, 7 deletions
diff --git a/report.py b/report.py
index dfdc3c1..940422d 100755
--- a/report.py
+++ b/report.py
@@ -2,8 +2,7 @@
from getopt import getopt, GetoptError
import re
-import sys, os
-import subprocess
+import sys
def usage():
USAGE = """\
diff --git a/run.py b/run.py
index 360c7c9..fc6064b 100755
--- a/run.py
+++ b/run.py
@@ -2,7 +2,9 @@
from getopt import getopt, GetoptError
import re
-import sys, os, time
+import sys
+import os
+import time
import subprocess
from concurrent.futures import ThreadPoolExecutor
from multiprocessing import cpu_count
diff --git a/split-to-files.py b/split-to-files.py
index dd49b55..42560cf 100755
--- a/split-to-files.py
+++ b/split-to-files.py
@@ -2,10 +2,8 @@
from getopt import getopt, GetoptError
import re
-import sys, os
-import subprocess
-from concurrent.futures import ThreadPoolExecutor
-from multiprocessing import cpu_count
+import sys
+import os
def usage():
USAGE = """\