Author: tmckay
Date: 2011-10-12 16:12:53 +0000 (Wed, 12 Oct 2011)
New Revision: 5058
Modified:
trunk/sage/python/sage/verifiedhttps_m2crypto.py
Log:
Typo, "timeout" should be "self.timeout"
Modified: trunk/sage/python/sage/verifiedhttps_m2crypto.py
===================================================================
--- trunk/sage/python/sage/verifiedhttps_m2crypto.py 2011-10-12 15:06:26 UTC (rev 5057)
+++ trunk/sage/python/sage/verifiedhttps_m2crypto.py 2011-10-12 16:12:53 UTC (rev 5058)
@@ -45,7 +45,7 @@
# this prior to the connection.
httpslib.HTTPSConnection.connect(self)
if self.timeout is not None:
- self.sock.settimeout(timeout)
+ self.sock.settimeout(self.timeout)
except SSL.Checker.WrongHost, e:
# Allow the host name check to fail if domain_verify is off.
# This is mostly for testing with self-signed certificates
Show replies by date