Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
tools: remove unnecessary imports and assignments
Browse files Browse the repository at this point in the history
thefourtheye committed Jul 1, 2016

Verified

This commit was signed with the committer’s verified signature. The key has expired.
kylekurz Kyle Kurz
1 parent 15157c3 commit cfcbee6
Showing 7 changed files with 3 additions and 17 deletions.
2 changes: 1 addition & 1 deletion test/message/testcfg.py
Original file line number Diff line number Diff line change
@@ -27,7 +27,7 @@

import test
import os
from os.path import join, dirname, exists, basename, isdir
from os.path import join, exists, basename, isdir
import re

FLAGS_PATTERN = re.compile(r"//\s+Flags:(.*)")
3 changes: 0 additions & 3 deletions test/testpy/__init__.py
Original file line number Diff line number Diff line change
@@ -27,9 +27,6 @@

import test
import os
import shutil
from os import mkdir
from glob import glob
from os.path import join, dirname, exists
import re

6 changes: 1 addition & 5 deletions test/timers/testcfg.py
Original file line number Diff line number Diff line change
@@ -27,11 +27,7 @@

import test
import os
import shutil
from shutil import rmtree
from os import mkdir
from glob import glob
from os.path import join, dirname, exists
from os.path import join, exists
import re
import shlex

2 changes: 1 addition & 1 deletion tools/configure.d/nodedownload.py
Original file line number Diff line number Diff line change
@@ -35,7 +35,7 @@ def retrievefile(url, targetfile):
try:
sys.stdout.write(' <%s>\nConnecting...\r' % url)
sys.stdout.flush()
msg = ConfigOpener().retrieve(url, targetfile, reporthook=reporthook)
ConfigOpener().retrieve(url, targetfile, reporthook=reporthook)
print '' # clear the line
return targetfile
except:
4 changes: 0 additions & 4 deletions tools/icu/shrink-icu-src.py
Original file line number Diff line number Diff line change
@@ -1,13 +1,9 @@
#!/usr/bin/env python
import optparse
import os
import pprint
import re
import shlex
import subprocess
import sys
import shutil
import string

parser = optparse.OptionParser()

2 changes: 0 additions & 2 deletions tools/specialize_node_d.py
Original file line number Diff line number Diff line change
@@ -7,9 +7,7 @@
#

import re
import subprocess
import sys
import errno

if len(sys.argv) != 5:
print "usage: specialize_node_d.py outfile src/node.d flavor arch"
1 change: 0 additions & 1 deletion tools/test.py
Original file line number Diff line number Diff line change
@@ -32,7 +32,6 @@
import logging
import optparse
import os
import platform
import re
import signal
import subprocess

0 comments on commit cfcbee6

Please sign in to comment.