]> granicus.if.org Git - python/commitdiff
this is why tests are great
authorBenjamin Peterson <benjamin@python.org>
Sun, 30 Nov 2014 04:06:06 +0000 (23:06 -0500)
committerBenjamin Peterson <benjamin@python.org>
Sun, 30 Nov 2014 04:06:06 +0000 (23:06 -0500)
Lib/xmlrpclib.py

index f5682c9cf009690a501b74bc6632c92d8c175353..5354ec246a7e075ddac99976bfa59f8acfcfc5c0 100644 (file)
@@ -1497,7 +1497,7 @@ class SafeTransport(Transport):
                 )
         else:
             chost, self._extra_headers, x509 = self.get_host_info(host)
-            self._connection = host, HTTPS(chost, None, context=context, **(x509 or {}))
+            self._connection = host, HTTPS(chost, None, context=self.context, **(x509 or {}))
             return self._connection[1]
 
 ##