hgext3rd/__init__.py
author Martin von Zweigbergk <martinvonz@google.com>
Mon, 19 Mar 2018 15:46:17 -0700
changeset 3575 97530d6e340d
parent 2020 143c8e4dc22d
permissions -rw-r--r--
compat: make override of createmarkers work on wrapped function If createmarkers() has been wrapped using functools.partial(), the __code__ attribute won't exist. Fix by unwrapping partial functions. I tried to find another attribute to use as proxy for the "__code__.co_argcount < 6", but there were no new functions or similar added in that commit.

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