changeset 25977:696f6e2be282

sslutil: use absolute_import
author Gregory Szorc <gregory.szorc@gmail.com>
date Sat, 08 Aug 2015 19:56:22 -0700
parents 72b36785d7f4
children 762f4c6df6b1
files mercurial/sslutil.py
diffstat 1 files changed, 8 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/mercurial/sslutil.py	Sat Aug 08 19:55:39 2015 -0700
+++ b/mercurial/sslutil.py	Sat Aug 08 19:56:22 2015 -0700
@@ -6,10 +6,15 @@
 #
 # This software may be used and distributed according to the terms of the
 # GNU General Public License version 2 or any later version.
-import os, sys, ssl
+
+from __future__ import absolute_import
 
-from mercurial import util
-from mercurial.i18n import _
+import os
+import ssl
+import sys
+
+from .i18n import _
+from . import util
 
 _canloaddefaultcerts = False
 try: