hgext3rd/__init__.py
author Martin von Zweigbergk <martinvonz@google.com>
Sat, 11 Mar 2017 12:25:56 -0800
changeset 32224 456b4a32d75f
parent 28541 4b81487a01d4
child 43076 2372284d9457
permissions -rw-r--r--
rebase: don't update state dict same way for each root The update statement does not depend on anything in the loop, so just move it before the loop and do it once. There are no cases where update would happen 0 times before (and 1 now); the function returns early in all such cases.

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