Mercurial > hg
diff hgext/fsmonitor/__init__.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 | 49d65663d7e4 |
children | 0d83ad967bf8 |
line wrap: on
line diff
--- a/hgext/fsmonitor/__init__.py Thu May 19 00:20:38 2016 +0900 +++ b/hgext/fsmonitor/__init__.py Sat May 14 14:03:12 2016 +0900 @@ -95,6 +95,7 @@ import stat import sys +from mercurial.i18n import _ from mercurial import ( context, extensions, @@ -105,7 +106,6 @@ util, ) from mercurial import match as matchmod -from mercurial.i18n import _ from . import ( state,