##// END OF EJS Templates
py3: make contrib/import-checker.py get along with itself...
Yuya Nishihara -
r29211:b42c2a66 default
parent child Browse files
Show More
@@ -11,8 +11,9 b' import sys'
11 # Import a minimal set of stdlib modules needed for list_stdlib_modules()
11 # Import a minimal set of stdlib modules needed for list_stdlib_modules()
12 # to work when run from a virtualenv. The modules were chosen empirically
12 # to work when run from a virtualenv. The modules were chosen empirically
13 # so that the return value matches the return value without virtualenv.
13 # so that the return value matches the return value without virtualenv.
14 import BaseHTTPServer
14 if True: # disable lexical sorting checks
15 import zlib
15 import BaseHTTPServer
16 import zlib
16
17
17 # Whitelist of modules that symbols can be directly imported from.
18 # Whitelist of modules that symbols can be directly imported from.
18 allowsymbolimports = (
19 allowsymbolimports = (
General Comments 0
You need to be logged in to leave comments. Login now