changeset 25965:e6b56b2c1f26

peer: use absolute_import
author Gregory Szorc <gregory.szorc@gmail.com>
date Sat, 08 Aug 2015 19:45:45 -0700
parents d740df4e96cf
children f14cea32e1d4
files mercurial/peer.py
diffstat 1 files changed, 7 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- 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