Show More
@@ -79,7 +79,10 b' except ImportError:' | |||
|
79 | 79 | processlock = threading.Lock() |
|
80 | 80 | |
|
81 | 81 | if sys.version_info > (3, 0, 0): |
|
82 | PYTHON3 = True | |
|
82 | 83 | xrange = range # we use xrange in one place, and we'd rather not use range |
|
84 | else: | |
|
85 | PYTHON3 = False | |
|
83 | 86 | |
|
84 | 87 | def checkportisavailable(port): |
|
85 | 88 | """return true if a port seems free to bind on localhost""" |
General Comments 0
You need to be logged in to leave comments.
Login now