Mercurial > hg-stable
comparison hgext/keyword.py @ 29205:a0939666b836
py3: move up symbol imports to enforce import-checker rules
Since (b) is banned, we should do the same for (a) for consistency.
a) from mercurial import hg
from mercurial.i18n import _
b) from . import hg
from .i18n import _
author | Yuya Nishihara <yuya@tcha.org> |
---|---|
date | Sat, 14 May 2016 14:03:12 +0900 |
parents | 4a65c9c6cd3f |
children | 844f72885fb9 |
comparison
equal
deleted
inserted
replaced
29204:ce2d81aafbae | 29205:a0939666b836 |
---|---|
87 | 87 |
88 import os | 88 import os |
89 import re | 89 import re |
90 import tempfile | 90 import tempfile |
91 | 91 |
92 from mercurial.i18n import _ | |
92 from mercurial.hgweb import webcommands | 93 from mercurial.hgweb import webcommands |
93 from mercurial.i18n import _ | |
94 | 94 |
95 from mercurial import ( | 95 from mercurial import ( |
96 cmdutil, | 96 cmdutil, |
97 commands, | 97 commands, |
98 context, | 98 context, |