mercurial/hgweb/request.py
changeset 27046 37fcfe52c68c
parent 26846 7c1b4840c2cd
child 34512 482d6f6dba91
--- a/mercurial/hgweb/request.py	Sun Nov 01 15:09:35 2015 +0900
+++ b/mercurial/hgweb/request.py	Sat Oct 31 22:07:40 2015 +0900
@@ -6,9 +6,21 @@
 # This software may be used and distributed according to the terms of the
 # GNU General Public License version 2 or any later version.
 
-import socket, cgi, errno
-from mercurial import util
-from common import ErrorResponse, statusmessage, HTTP_NOT_MODIFIED
+from __future__ import absolute_import
+
+import cgi
+import errno
+import socket
+
+from .common import (
+    ErrorResponse,
+    HTTP_NOT_MODIFIED,
+    statusmessage,
+)
+
+from .. import (
+    util,
+)
 
 shortcuts = {
     'cl': [('cmd', ['changelog']), ('rev', None)],