Mercurial > hg
diff mercurial/sslutil.py @ 29501:be68a4445041
merge with stable
author | Matt Mackall <mpm@selenic.com> |
---|---|
date | Mon, 11 Jul 2016 08:54:13 -0500 |
parents | 4b16a5bd9948 a7d1532b26a1 |
children | 97dcdcf75f4f |
line wrap: on
line diff
--- a/mercurial/sslutil.py Wed Jul 06 21:16:00 2016 -0700 +++ b/mercurial/sslutil.py Mon Jul 11 08:54:13 2016 -0500 @@ -384,7 +384,7 @@ if _dnsnamematch(value, hostname): return except wildcarderror as e: - return e.message + return e.args[0] dnsnames.append(value) @@ -405,7 +405,7 @@ if _dnsnamematch(value, hostname): return except wildcarderror as e: - return e.message + return e.args[0] dnsnames.append(value)