Mercurial > public > mercurial-scm > hg
diff mercurial/sslutil.py @ 51290:03fc41fe8aa1
pytype: ignore certifi import error
This is an optional import so we should not complains about it.
author | Pierre-Yves David <pierre-yves.david@octobus.net> |
---|---|
date | Tue, 19 Dec 2023 21:27:49 +0100 |
parents | 18c8c18993f0 |
children | 493034cc3265 |
line wrap: on
line diff
--- a/mercurial/sslutil.py Tue Dec 19 21:26:30 2023 +0100 +++ b/mercurial/sslutil.py Tue Dec 19 21:27:49 2023 +0100 @@ -787,7 +787,7 @@ # The "certifi" Python package provides certificates. If it is installed # and usable, assume the user intends it to be used and use it. try: - import certifi + import certifi # pytype: disable=import-error certs = certifi.where() if os.path.exists(certs):