[PATCH STABLE] hghave: fix typo of sslutil.supportedprotocols

Yuya Nishihara yuya at tcha.org
Tue Jul 19 08:46:45 EDT 2016


# HG changeset patch
# User Yuya Nishihara <yuya at tcha.org>
# Date 1468930604 -32400
#      Tue Jul 19 21:16:44 2016 +0900
# Branch stable
# Node ID 2c1a958f96e226cb5a21ed9cad471fd5af2c0d3e
# Parent  02a8fea4289b51992b2495a06d4b12cbda876cf1
hghave: fix typo of sslutil.supportedprotocols

diff --git a/tests/hghave.py b/tests/hghave.py
--- a/tests/hghave.py
+++ b/tests/hghave.py
@@ -442,7 +442,7 @@ def has_defaultcacertsloaded():
 @check("tls1.2", "TLS 1.2 protocol support")
 def has_tls1_2():
     from mercurial import sslutil
-    return 'tls1.2' in sslutil.supportprotocols
+    return 'tls1.2' in sslutil.supportedprotocols
 
 @check("windows", "Windows")
 def has_windows():


More information about the Mercurial-devel mailing list