minirst: use absolute_import
authorGregory Szorc <gregory.szorc@gmail.com>
Sat, 08 Aug 2015 19:42:16 -0700
changeset 25960 05d97407a8d1
parent 25959 892d601f0d44
child 25961 c0c89b2d07be
minirst: use absolute_import
mercurial/minirst.py
--- a/mercurial/minirst.py	Sat Aug 08 19:41:25 2015 -0700
+++ b/mercurial/minirst.py	Sat Aug 08 19:42:16 2015 -0700
@@ -18,11 +18,16 @@
 when adding support for new constructs.
 """
 
-import re
-import util, encoding
-from i18n import _
+from __future__ import absolute_import
 
 import cgi
+import re
+
+from .i18n import _
+from . import (
+    encoding,
+    util,
+)
 
 def section(s):
     return "%s\n%s\n\n" % (s, "\"" * encoding.colwidth(s))