mercurial/templater.py
changeset 45319 6e6fe826ba69
parent 45316 1b983985edd9
child 45320 4aa484efc926
equal deleted inserted replaced
45318:1a4f925f72c3 45319:6e6fe826ba69
  1105         try:
  1105         try:
  1106             return (
  1106             return (
  1107                 name,
  1107                 name,
  1108                 resourceutil.open_resource(package_name, name_parts[-1]),
  1108                 resourceutil.open_resource(package_name, name_parts[-1]),
  1109             )
  1109             )
  1110         except (ModuleNotFoundError, FileNotFoundError):
  1110         except (ImportError, OSError):
  1111             return None, None
  1111             return None, None