mercurial/sslutil.py
branchstable
changeset 42263 ce5f1232631f
parent 41411 f07aff7e8b5a
child 42269 c8d55ff80da1
--- 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