Mercurial > hg
changeset 42263:ce5f1232631f stable
sslutil: fsencode path returned by certifi (issue6132)
By inspection, this is the only codepath that could be returning a
string instead of a bytes on Python 3.
author | Augie Fackler <augie@google.com> |
---|---|
date | Wed, 08 May 2019 16:09:50 -0400 |
parents | e45c6b153e51 |
children | 838f3a094b4f f352ed7dfab7 |
files | mercurial/sslutil.py |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/mercurial/sslutil.py Mon May 06 22:10:34 2019 -0400 +++ b/mercurial/sslutil.py Wed May 08 16:09:50 2019 -0400 @@ -722,7 +722,7 @@ certs = certifi.where() if os.path.exists(certs): ui.debug('using ca certificates from certifi\n') - return certs + return pycompat.fsencode(certs) except (ImportError, AttributeError): pass