Mercurial > hg-stable
changeset 51310: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 | 9c5bd485fbb6 |
children | 7d3b92e8df13 |
files | mercurial/sslutil.py |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
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):