hgext3rd/__init__.py
author Gregory Szorc <gregory.szorc@gmail.com>
Sun, 11 Feb 2018 13:23:26 -0800
changeset 36081 223ed0b53f08
parent 28541 4b81487a01d4
child 43076 2372284d9457
permissions -rw-r--r--
py3: more robustly cast UUID to bytes The UUID type only has __str__ implemented. So we need to cast to bytes on Python 3. We need an actual bytes instance here (bytestr won't do) because the re.escape() later iterates over characters and characters need to behave like ints, not bytes instances of length 1. Differential Revision: https://phab.mercurial-scm.org/D2144

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