Mercurial > public > mercurial-scm > hg
diff mercurial/hgweb/__init__.py @ 27046:37fcfe52c68c
hgweb: use absolute_import
author | Yuya Nishihara <yuya@tcha.org> |
---|---|
date | Sat, 31 Oct 2015 22:07:40 +0900 |
parents | f6d41bfc189e |
children | ea8e27e6098d |
line wrap: on
line diff
--- a/mercurial/hgweb/__init__.py Sun Nov 01 15:09:35 2015 +0900 +++ b/mercurial/hgweb/__init__.py Sat Oct 31 22:07:40 2015 +0900 @@ -6,8 +6,14 @@ # This software may be used and distributed according to the terms of the # GNU General Public License version 2 or any later version. +from __future__ import absolute_import + import os -import hgweb_mod, hgwebdir_mod + +from . import ( + hgweb_mod, + hgwebdir_mod, +) def hgweb(config, name=None, baseui=None): '''create an hgweb wsgi object