fix socks proxy error reporting for unit tests

This commit is contained in:
Arvid Norberg 2014-01-21 09:46:03 +00:00
parent 41693bfa97
commit 3547728a0e
1 changed files with 3 additions and 0 deletions

View File

@ -12,6 +12,9 @@ import sys
def debug(s):
print >>sys.stderr, 'socks.py: ', s
def error(s):
print >>sys.stderr, 'socks.py, ERROR: ', s
class MyTCPServer(ThreadingTCPServer):
allow_reuse_address = True