hgext/__init__.py
author Anton Shestakov <av6@dwimlabs.net>
Wed, 04 May 2022 13:48:40 +0400
branchstable
changeset 48868 3f9125db466f
parent 43076 2372284d9457
child 48966 6000f5b25c9b
permissions -rw-r--r--
check-py3-compat: use an absolute path in sys.path The idea and rationale is similar to https://phab.mercurial-scm.org/D12599 (landed as 1b6e381521c5). Differential Revision: https://phab.mercurial-scm.org/D12621

from __future__ import absolute_import
import pkgutil

__path__ = pkgutil.extend_path(__path__, __name__)