sshpeer: use absolute_import
authorGregory Szorc <gregory.szorc@gmail.com>
Sat, 08 Aug 2015 19:55:01 -0700
changeset 25975 de7a3893ee65
parent 25974 241a1324a180
child 25976 72b36785d7f4
sshpeer: use absolute_import
mercurial/sshpeer.py
--- 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):