##// END OF EJS Templates
py3: make hgmanpage use absolute_import
Pulkit Goyal -
r28967:cd5e7195 default
parent child Browse files
Show More
@@ -41,12 +41,18 b' A unix-like system keeps an index of the'
41 by the command whatis or apropos.
41 by the command whatis or apropos.
42
42
43 """
43 """
44 from __future__ import absolute_import
44
45
45 __docformat__ = 'reStructuredText'
46 __docformat__ = 'reStructuredText'
46
47
48 import inspect
47 import re
49 import re
48
50
49 from docutils import nodes, writers, languages
51 from docutils import (
52 languages,
53 nodes,
54 writers,
55 )
50 try:
56 try:
51 import roman
57 import roman
52 except ImportError:
58 except ImportError:
@@ -3,7 +3,6 b''
3 $ cd "$TESTDIR"/..
3 $ cd "$TESTDIR"/..
4
4
5 $ hg files 'set:(**.py)' | sed 's|\\|/|g' | xargs python contrib/check-py3-compat.py
5 $ hg files 'set:(**.py)' | sed 's|\\|/|g' | xargs python contrib/check-py3-compat.py
6 doc/hgmanpage.py not using absolute_import
7 hgext/color.py not using absolute_import
6 hgext/color.py not using absolute_import
8 hgext/eol.py not using absolute_import
7 hgext/eol.py not using absolute_import
9 hgext/extdiff.py not using absolute_import
8 hgext/extdiff.py not using absolute_import
General Comments 0
You need to be logged in to leave comments. Login now