Show More
@@ -11,10 +11,7 b' import sys' | |||
|
11 | 11 | # to work when run from a virtualenv. The modules were chosen empirically |
|
12 | 12 | # so that the return value matches the return value without virtualenv. |
|
13 | 13 | if True: # disable lexical sorting checks |
|
14 | try: | |
|
15 | import BaseHTTPServer as basehttpserver | |
|
16 | except ImportError: | |
|
17 | basehttpserver = None | |
|
14 | import argparse | |
|
18 | 15 | import zlib |
|
19 | 16 | |
|
20 | 17 | import testparseutil |
@@ -244,7 +241,7 b' def list_stdlib_modules():' | |||
|
244 | 241 | stdlib_prefixes = {sys.prefix, sys.exec_prefix} |
|
245 | 242 | # We need to supplement the list of prefixes for the search to work |
|
246 | 243 | # when run from within a virtualenv. |
|
247 |
for mod in ( |
|
|
244 | for mod in (argparse, zlib): | |
|
248 | 245 | if mod is None: |
|
249 | 246 | continue |
|
250 | 247 | try: |
General Comments 0
You need to be logged in to leave comments.
Login now