sslutil: fix comment to use inclusive or instead of exclusive or
authorManuel Jacob <me@manueljacob.de>
Mon, 01 Jun 2020 15:22:31 +0200
changeset 44902 24d440e2fdbb
parent 44901 53b3baaadb64
child 44903 69d3ce00df99
sslutil: fix comment to use inclusive or instead of exclusive or The incorrect "either" was introduced by one of my recent patches.
mercurial/sslutil.py
--- a/mercurial/sslutil.py	Mon Jun 01 14:34:22 2020 +0200
+++ b/mercurial/sslutil.py	Mon Jun 01 15:22:31 2020 +0200
@@ -100,8 +100,8 @@
     # BEAST and POODLE). We allow users to downgrade to TLS 1.0+ via config
     # options in case a legacy server is encountered.
 
-    # setup.py checks that either TLS 1.1 or TLS 1.2 is present, so the
-    # following assert should not fail.
+    # setup.py checks that TLS 1.1 or TLS 1.2 is present, so the following
+    # assert should not fail.
     assert supportedprotocols - {b'tls1.0'}
     defaultminimumprotocol = b'tls1.1'