view hgext/__init__.py @ 51687:1eab9e40c0c8

convert: fix various leaked file descriptors Some of these only leaked if an exception occurred between the open and close, but a lot of these leaked unconditionally. A type hint is added to `parsesplicemap` because otherwise this change caused pytype to change the return type from this to `Dict[nothing, nothing]`.
author Matt Harbison <matt_harbison@yahoo.com>
date Thu, 11 Jul 2024 21:54:02 -0400
parents 6000f5b25c9b
children f4733654f144
line wrap: on
line source

import pkgutil

__path__ = pkgutil.extend_path(__path__, __name__)