##// END OF EJS Templates
minirst: use absolute_import
Gregory Szorc -
r25960:05d97407 default
parent child Browse files
Show More
@@ -18,11 +18,16 b' Remember to update http://mercurial.sele'
18 when adding support for new constructs.
18 when adding support for new constructs.
19 """
19 """
20
20
21 import re
21 from __future__ import absolute_import
22 import util, encoding
23 from i18n import _
24
22
25 import cgi
23 import cgi
24 import re
25
26 from .i18n import _
27 from . import (
28 encoding,
29 util,
30 )
26
31
27 def section(s):
32 def section(s):
28 return "%s\n%s\n\n" % (s, "\"" * encoding.colwidth(s))
33 return "%s\n%s\n\n" % (s, "\"" * encoding.colwidth(s))
General Comments 0
You need to be logged in to leave comments. Login now