diff options
author | Nick Mathewson <nickm@torproject.org> | 2009-01-22 10:54:34 -0500 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2009-01-22 10:56:31 -0500 |
commit | b64339f48280872deec7bb980a61e494f6f38c92 (patch) | |
tree | fe8262b8a6e7ca572cfe8c5c26720670697d8f8d /lib/thandy/socksurls.py | |
parent | 2068158fd08ca042b874422ee3826f40803f31d8 (diff) |
Fix multiple pychecker-spotted typos.
These are mostly typos in methods that don't get used in the current
Thandy, error in error-handling paths, modules we imported
unnecessarily, etc.
Diffstat (limited to 'lib/thandy/socksurls.py')
-rw-r--r-- | lib/thandy/socksurls.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/thandy/socksurls.py b/lib/thandy/socksurls.py index d035a6c..ee556ab 100644 --- a/lib/thandy/socksurls.py +++ b/lib/thandy/socksurls.py @@ -70,7 +70,7 @@ class SocksHTTPConnection(httplib.HTTPConnection): class SocksHTTPSConnection(httplib.HTTPSConnection): def connect(self): socket = socks_connect(self.host, self.port) - ssl = socket.ssl(sock, None, None) + ssl = socket.ssl(socket, None, None) self.sock = socket.FakeSocket(socket, ssl) # URL handlers for HTTP and HTTPS urls that use socks instead of direct |