changeset 45319 | 6e6fe826ba69 |
parent 45316 | 1b983985edd9 |
child 45320 | 4aa484efc926 |
--- a/mercurial/templater.py Wed Aug 05 14:19:42 2020 -0700 +++ b/mercurial/templater.py Wed Aug 05 22:13:51 2020 -0700 @@ -1107,5 +1107,5 @@ name, resourceutil.open_resource(package_name, name_parts[-1]), ) - except (ModuleNotFoundError, FileNotFoundError): + except (ImportError, OSError): return None, None