view hgext/__init__.py @ 36119:6ea7f1c10c81

py3: cast character set to bytes The returned value from this function is eventually fed into email.charset.Charset.__init__. However, the standard library appears to handle both string types in Python 2 and 3. So there shouldn't be any problem returning a bytes here. Differential Revision: https://phab.mercurial-scm.org/D2167
author Gregory Szorc <gregory.szorc@gmail.com>
date Sun, 11 Feb 2018 18:50:24 -0800
parents 155e3308289c
children 2372284d9457
line wrap: on
line source

from __future__ import absolute_import
import pkgutil
__path__ = pkgutil.extend_path(__path__, __name__)