mercurial/parser.py
changeset 25963 7448df709b2e
parent 25818 455190fb4e51
child 26231 87c9c562c37a
--- a/mercurial/parser.py	Sat Aug 08 19:43:24 2015 -0700
+++ b/mercurial/parser.py	Sat Aug 08 19:44:05 2015 -0700
@@ -16,8 +16,10 @@
 # an action is a tree node name, a tree label, and an optional match
 # __call__(program) parses program into a labeled tree
 
-import error
-from i18n import _
+from __future__ import absolute_import
+
+from .i18n import _
+from . import error
 
 class parser(object):
     def __init__(self, elements, methods=None):