diff mercurial/sslutil.py @ 32194:9a86d936670f stable

sslutil: reference fingerprints config option properly (issue5559) The config option is "host:fingerprints" not "host.fingerprints". This warning message is bad and misleads users.
author Gregory Szorc <gregory.szorc@gmail.com>
date Mon, 08 May 2017 09:30:26 -0700
parents c777b12cdc9b
children e05cfb4a6a8e
line wrap: on
line diff
--- a/mercurial/sslutil.py	Thu May 04 15:23:51 2017 +0900
+++ b/mercurial/sslutil.py	Mon May 08 09:30:26 2017 -0700
@@ -825,7 +825,7 @@
                               'remove the old one from [hostfingerprints] '
                               'to upgrade to a more secure SHA-256 '
                               'fingerprint: '
-                              '%s.fingerprints=%s)\n') % (
+                              '%s:fingerprints=%s)\n') % (
                                   host, host, nicefingerprint))
                 return