Show More
@@ -19,6 +19,7 b' import SocketServer' | |||
|
19 | 19 | import os |
|
20 | 20 | import select |
|
21 | 21 | import socket |
|
22 | import sys | |
|
22 | 23 | import urlparse |
|
23 | 24 | |
|
24 | 25 | class ProxyHandler (BaseHTTPServer.BaseHTTPRequestHandler): |
@@ -140,7 +141,7 b' class ThreadingHTTPServer (SocketServer.' | |||
|
140 | 141 | a.close() |
|
141 | 142 | |
|
142 | 143 | if __name__ == '__main__': |
|
143 | from sys import argv | |
|
144 | argv = sys.argv | |
|
144 | 145 | if argv[1:] and argv[1] in ('-h', '--help'): |
|
145 | 146 | print(argv[0], "[port [allowed_client_name ...]]") |
|
146 | 147 | else: |
General Comments 0
You need to be logged in to leave comments.
Login now