changeset 25961:c0c89b2d07be

namespaces: use absolute_import
author Gregory Szorc <gregory.szorc@gmail.com>
date Sat, 08 Aug 2015 19:42:58 -0700
parents 05d97407a8d1
children 738314da6c75
files mercurial/namespaces.py
diffstat 1 files changed, 7 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/mercurial/namespaces.py	Sat Aug 08 19:42:16 2015 -0700
+++ b/mercurial/namespaces.py	Sat Aug 08 19:42:58 2015 -0700
@@ -1,6 +1,10 @@
-from i18n import _
-from mercurial import util
-import templatekw
+from __future__ import absolute_import
+
+from .i18n import _
+from . import (
+    templatekw,
+    util,
+)
 
 def tolist(val):
     """