Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit fa99dad

Browse filesBrowse files
thefourtheyeevanlucas
authored andcommitted
tools: remove unnecessary imports and assignments
PR-URL: #7483 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Anna Henningsen <anna@addaleax.net>
1 parent 80ca063 commit fa99dad
Copy full SHA for fa99dad

File tree

Expand file treeCollapse file tree

7 files changed

+3
-17
lines changed
Open diff view settings
Filter options
Expand file treeCollapse file tree

7 files changed

+3
-17
lines changed
Open diff view settings
Collapse file

‎test/message/testcfg.py‎

Copy file name to clipboardExpand all lines: test/message/testcfg.py
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727

2828
import test
2929
import os
30-
from os.path import join, dirname, exists, basename, isdir
30+
from os.path import join, exists, basename, isdir
3131
import re
3232

3333
FLAGS_PATTERN = re.compile(r"//\s+Flags:(.*)")
Collapse file

‎test/testpy/__init__.py‎

Copy file name to clipboardExpand all lines: test/testpy/__init__.py
-3Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,6 @@
2727

2828
import test
2929
import os
30-
import shutil
31-
from os import mkdir
32-
from glob import glob
3330
from os.path import join, dirname, exists
3431
import re
3532

Collapse file

‎test/timers/testcfg.py‎

Copy file name to clipboardExpand all lines: test/timers/testcfg.py
+1-5Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -27,11 +27,7 @@
2727

2828
import test
2929
import os
30-
import shutil
31-
from shutil import rmtree
32-
from os import mkdir
33-
from glob import glob
34-
from os.path import join, dirname, exists
30+
from os.path import join, exists
3531
import re
3632
import shlex
3733

Collapse file

‎tools/configure.d/nodedownload.py‎

Copy file name to clipboardExpand all lines: tools/configure.d/nodedownload.py
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ def retrievefile(url, targetfile):
3535
try:
3636
sys.stdout.write(' <%s>\nConnecting...\r' % url)
3737
sys.stdout.flush()
38-
msg = ConfigOpener().retrieve(url, targetfile, reporthook=reporthook)
38+
ConfigOpener().retrieve(url, targetfile, reporthook=reporthook)
3939
print '' # clear the line
4040
return targetfile
4141
except:
Collapse file

‎tools/icu/shrink-icu-src.py‎

Copy file name to clipboardExpand all lines: tools/icu/shrink-icu-src.py
-4Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,9 @@
11
#!/usr/bin/env python
22
import optparse
33
import os
4-
import pprint
54
import re
6-
import shlex
7-
import subprocess
85
import sys
96
import shutil
10-
import string
117

128
parser = optparse.OptionParser()
139

Collapse file

‎tools/specialize_node_d.py‎

Copy file name to clipboardExpand all lines: tools/specialize_node_d.py
-2Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,7 @@
77
#
88

99
import re
10-
import subprocess
1110
import sys
12-
import errno
1311

1412
if len(sys.argv) != 5:
1513
print "usage: specialize_node_d.py outfile src/node.d flavor arch"
Collapse file

‎tools/test.py‎

Copy file name to clipboardExpand all lines: tools/test.py
-1Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,6 @@
3232
import logging
3333
import optparse
3434
import os
35-
import platform
3635
import re
3736
import signal
3837
import subprocess

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.