hgext3rd/__init__.py
author Gregory Szorc <gregory.szorc@gmail.com>
Thu, 06 Jul 2017 10:58:45 -0700
changeset 33296 ee616196227c
parent 28541 4b81487a01d4
child 43076 2372284d9457
permissions -rw-r--r--
sparse: use vfs.tryread() vfs.exists() followed by a file read is an anti-pattern because it incurs an extra stat() to test for file presence. vfs.tryread() returns empty string on missing file and avoids the stat().

# name space package to host third party extensions
from __future__ import absolute_import
import pkgutil
__path__ = pkgutil.extend_path(__path__, __name__)