dagutil: use absolute_import
authorGregory Szorc <gregory.szorc@gmail.com>
Sat, 08 Aug 2015 19:04:09 -0700
changeset 25942 015ded095933
parent 25941 a75cda2dfc19
child 25943 3beed01daff9
dagutil: use absolute_import
mercurial/dagutil.py
--- a/mercurial/dagutil.py	Sat Aug 08 19:03:34 2015 -0700
+++ b/mercurial/dagutil.py	Sat Aug 08 19:04:09 2015 -0700
@@ -6,9 +6,10 @@
 # This software may be used and distributed according to the terms of the
 # GNU General Public License version 2 or any later version.
 
-from node import nullrev
-from i18n import _
+from __future__ import absolute_import
 
+from .i18n import _
+from .node import nullrev
 
 class basedag(object):
     '''generic interface for DAGs