mercurial/hgweb/__init__.py
changeset 27046 37fcfe52c68c
parent 10996 f6d41bfc189e
child 27138 ea8e27e6098d
--- 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