mercurial/httpconnection.py
changeset 27521 b1adf32b0605
parent 26347 e9a35411bbbc
child 28526 47b0cee25e88
--- a/mercurial/httpconnection.py	Wed Dec 23 12:27:24 2015 -0800
+++ b/mercurial/httpconnection.py	Mon Dec 21 21:52:58 2015 -0800
@@ -7,16 +7,21 @@
 #
 # 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 logging
+import os
 import socket
 import urllib
 import urllib2
-import os
 
-from mercurial import httpclient
-from mercurial import sslutil
-from mercurial import util
-from mercurial.i18n import _
+from .i18n import _
+from . import (
+    httpclient,
+    sslutil,
+    util,
+)
 
 # moved here from url.py to avoid a cycle
 class httpsendfile(object):