changeset 25975:de7a3893ee65

sshpeer: use absolute_import
author Gregory Szorc <gregory.szorc@gmail.com>
date Sat, 08 Aug 2015 19:55:01 -0700
parents 241a1324a180
children 72b36785d7f4
files mercurial/sshpeer.py
diffstat 1 files changed, 9 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/mercurial/sshpeer.py	Sat Aug 08 19:54:11 2015 -0700
+++ b/mercurial/sshpeer.py	Sat Aug 08 19:55:01 2015 -0700
@@ -5,9 +5,16 @@
 # 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 re
-from i18n import _
-import util, error, wireproto
+
+from .i18n import _
+from . import (
+    error,
+    util,
+    wireproto,
+)
 
 class remotelock(object):
     def __init__(self, repo):