view hgext/__init__.py @ 28475:ae522fb493d4

test: make check-py3-compat.py ignore empty code more reliably It couldn't exclude an empty file containing comments. That's why hgext/__init__.py had been listed in test-check-py3-compat.t before "hgext: officially turn 'hgext' into a namespace package".
author Yuya Nishihara <yuya@tcha.org>
date Fri, 11 Mar 2016 10:26:58 +0900
parents 155e3308289c
children 2372284d9457
line wrap: on
line source

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