namespaces: use absolute_import
authorGregory Szorc <gregory.szorc@gmail.com>
Sat, 08 Aug 2015 19:42:58 -0700
changeset 25961 c0c89b2d07be
parent 25960 05d97407a8d1
child 25962 738314da6c75
namespaces: use absolute_import
mercurial/namespaces.py
--- 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):
     """