changeset 25941:a75cda2dfc19

dagparser: use absolute_import
author Gregory Szorc <gregory.szorc@gmail.com>
date Sat, 08 Aug 2015 19:03:34 -0700
parents f4356e5094ba
children 015ded095933
files mercurial/dagparser.py
diffstat 1 files changed, 7 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/mercurial/dagparser.py	Sat Aug 08 19:05:55 2015 -0700
+++ b/mercurial/dagparser.py	Sat Aug 08 19:03:34 2015 -0700
@@ -5,9 +5,13 @@
 # This software may be used and distributed according to the terms of the
 # GNU General Public License version 2 or any later version.
 
-import re, string
-import util
-from i18n import _
+from __future__ import absolute_import
+
+import re
+import string
+
+from .i18n import _
+from . import util
 
 def parsedag(desc):
     '''parses a DAG from a concise textual description; generates events