peer: use absolute_import
authorGregory Szorc <gregory.szorc@gmail.com>
Sat, 08 Aug 2015 19:45:45 -0700
changeset 25965 e6b56b2c1f26
parent 25964 d740df4e96cf
child 25966 f14cea32e1d4
peer: use absolute_import
mercurial/peer.py
--- a/mercurial/peer.py	Sat Aug 08 19:45:15 2015 -0700
+++ b/mercurial/peer.py	Sat Aug 08 19:45:45 2015 -0700
@@ -6,9 +6,13 @@
 # This software may be used and distributed according to the terms of the
 # GNU General Public License version 2 or any later version.
 
-from i18n import _
-import error
-import util
+from __future__ import absolute_import
+
+from .i18n import _
+from . import (
+    error,
+    util,
+)
 
 # abstract batching support