# HG changeset patch # User Pierre-Yves David # Date 2023-12-19 20:27:49 # Node ID 03fc41fe8aa1b01faca4785cc15bc55100c62295 # Parent 9c5bd485fbb66e4feee49280eeb8d66a840e319c pytype: ignore certifi import error This is an optional import so we should not complains about it. diff --git a/mercurial/sslutil.py b/mercurial/sslutil.py --- a/mercurial/sslutil.py +++ b/mercurial/sslutil.py @@ -787,7 +787,7 @@ def _defaultcacerts(ui): # 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):