| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -27,7 +27,7 @@ | |||
| 27 | 27 | ||
| 28 | 28 | import test | |
| 29 | 29 | import os | |
| 30 | - from os.path import join, dirname, exists, basename, isdir | ||
| 30 | + from os.path import join, exists, basename, isdir | ||
| 31 | 31 | import re | |
| 32 | 32 | ||
| 33 | 33 | FLAGS_PATTERN = re.compile(r"//\s+Flags:(.*)") | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -27,9 +27,6 @@ | |||
| 27 | 27 | ||
| 28 | 28 | import test | |
| 29 | 29 | import os | |
| 30 | - import shutil | ||
| 31 | - from os import mkdir | ||
| 32 | - from glob import glob | ||
| 33 | 30 | from os.path import join, dirname, exists | |
| 34 | 31 | import re | |
| 35 | 32 | ||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -27,11 +27,7 @@ | |||
| 27 | 27 | ||
| 28 | 28 | import test | |
| 29 | 29 | 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 | ||
| 35 | 31 | import re | |
| 36 | 32 | import shlex | |
| 37 | 33 | ||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -35,7 +35,7 @@ def retrievefile(url, targetfile): | |||
| 35 | 35 | try: | |
| 36 | 36 | sys.stdout.write(' <%s>\nConnecting...\r' % url) | |
| 37 | 37 | sys.stdout.flush() | |
| 38 | - msg = ConfigOpener().retrieve(url, targetfile, reporthook=reporthook) | ||
| 38 | + ConfigOpener().retrieve(url, targetfile, reporthook=reporthook) | ||
| 39 | 39 | print '' # clear the line | |
| 40 | 40 | return targetfile | |
| 41 | 41 | except: | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -1,13 +1,9 @@ | |||
| 1 | 1 | #!/usr/bin/env python | |
| 2 | 2 | import optparse | |
| 3 | 3 | import os | |
| 4 | - import pprint | ||
| 5 | 4 | import re | |
| 6 | - import shlex | ||
| 7 | - import subprocess | ||
| 8 | 5 | import sys | |
| 9 | 6 | import shutil | |
| 10 | - import string | ||
| 11 | 7 | ||
| 12 | 8 | parser = optparse.OptionParser() | |
| 13 | 9 | ||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -7,9 +7,7 @@ | |||
| 7 | 7 | # | |
| 8 | 8 | ||
| 9 | 9 | import re | |
| 10 | - import subprocess | ||
| 11 | 10 | import sys | |
| 12 | - import errno | ||
| 13 | 11 | ||
| 14 | 12 | if len(sys.argv) != 5: | |
| 15 | 13 | print "usage: specialize_node_d.py outfile src/node.d flavor arch" | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -32,7 +32,6 @@ | |||
| 32 | 32 | import logging | |
| 33 | 33 | import optparse | |
| 34 | 34 | import os | |
| 35 | - import platform | ||
| 36 | 35 | import re | |
| 37 | 36 | import signal | |
| 38 | 37 | import subprocess | |
| Back | FazBrowse Home | New Git URL |
0 commit comments