mercurial/hgweb/wsgicgi.py
changeset 27046 37fcfe52c68c
parent 18552 e8efcc8ff5c0
child 30473 39d13b8c101d
--- a/mercurial/hgweb/wsgicgi.py	Sun Nov 01 15:09:35 2015 +0900
+++ b/mercurial/hgweb/wsgicgi.py	Sat Oct 31 22:07:40 2015 +0900
@@ -8,9 +8,18 @@
 # This was originally copied from the public domain code at
 # http://www.python.org/dev/peps/pep-0333/#the-server-gateway-side
 
-import os, sys
-from mercurial import util
-from mercurial.hgweb import common
+from __future__ import absolute_import
+
+import os
+import sys
+
+from .. import (
+    util,
+)
+
+from . import (
+    common,
+)
 
 def launch(application):
     util.setbinary(sys.stdin)