[Python-checkins] cpython (2.7): this is why tests are great

benjamin.peterson python-checkins at python.org
Sun Nov 30 05:06:26 CET 2014


https://hg.python.org/cpython/rev/fee117d5c894
changeset:   93659:fee117d5c894
branch:      2.7
parent:      93657:62bd574e95d5
user:        Benjamin Peterson <benjamin at python.org>
date:        Sat Nov 29 23:06:06 2014 -0500
summary:
  this is why tests are great

files:
  Lib/xmlrpclib.py |  2 +-
  1 files changed, 1 insertions(+), 1 deletions(-)


diff --git a/Lib/xmlrpclib.py b/Lib/xmlrpclib.py
--- a/Lib/xmlrpclib.py
+++ b/Lib/xmlrpclib.py
@@ -1497,7 +1497,7 @@
                 )
         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]
 
 ##

-- 
Repository URL: https://hg.python.org/cpython


More information about the Python-checkins mailing list