Bug 1024975 - [browser] Ignore searchplugins/metrolist.txt in filter.py. r=gavin, f=pike

This commit is contained in:
Francesco Lodolo (:flod) 2014-06-13 04:14:00 +02:00
parent a366ea468a
commit b630b14794

View File

@ -20,7 +20,10 @@ def test(mod, path, entity = None):
if mod == "extensions/spellcheck":
return "ignore"
# browser
return "ignore" if re.match(r"searchplugins\/.+\.xml", path) else "error"
if (re.match(r"searchplugins\/.+\.xml", path) or
path == "searchplugins/metrolist.txt"):
return "ignore"
return "error"
if mod == "extensions/spellcheck":
# l10n ships en-US dictionary or something, do compare
return "error"