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

login
register
mail settings
Submitter Yuya Nishihara
Date July 19, 2016, 12:46 p.m.
Message ID <2c1a958f96e226cb5a21.1468932405@mimosa>
Download mbox | patch
Permalink /patch/15955/
State Accepted
Headers show

Comments

Yuya Nishihara - July 19, 2016, 12:46 p.m.
# HG changeset patch
# User Yuya Nishihara <yuya@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

Patch

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():