Bug 1314235 - Report files in browser/searchplugins as obsolete. r=pike

--HG--
extra : rebase_source : 8d2b841eca69c47b2e5dc38641b432300fc540d4
This commit is contained in:
Francesco Lodolo (:flod) 2016-11-01 03:09:00 +01:00
Родитель 76734fefb3
Коммит 3f785900e4
1 изменённых файлов: 1 добавлений и 4 удалений

Просмотреть файл

@ -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