зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1314235 - Report files in browser/searchplugins as obsolete. r=pike
--HG-- extra : rebase_source : 8d2b841eca69c47b2e5dc38641b432300fc540d4
This commit is contained in:
Родитель
76734fefb3
Коммит
3f785900e4
|
@ -17,12 +17,9 @@ def test(mod, path, entity = None):
|
|||
# we only have exceptions for browser and extensions/spellcheck
|
||||
return "error"
|
||||
if not entity:
|
||||
# the only files to ignore are spell checkers and search
|
||||
# the only files to ignore are spell checkers
|
||||
if mod == "extensions/spellcheck":
|
||||
return "ignore"
|
||||
# browser
|
||||
if (re.match(r"searchplugins\/.+\.xml", path)):
|
||||
return "ignore"
|
||||
return "error"
|
||||
if mod == "extensions/spellcheck":
|
||||
# l10n ships en-US dictionary or something, do compare
|
||||
|
|
Загрузка…
Ссылка в новой задаче