Bug 1314235 - Report files in browser/searchplugins as obsolete. r=pike
authorFrancesco Lodolo (:flod) <flod@lodolo.net>
Tue, 01 Nov 2016 03:09:00 +0100
changeset 432707 394726989b1cd941c3926f8d18a47d4741b7096c
parent 432706 6f9d27032d1b666c4c2c92e583ff2a78aef23a3d
child 432708 3a9993173926cfede3e45e1a97c0b9aefd35acb5
push id34397
push userbmo:kevin.m.wern@gmail.com
push dateWed, 02 Nov 2016 16:01:16 +0000
reviewerspike
bugs1314235
milestone52.0a1
Bug 1314235 - Report files in browser/searchplugins as obsolete. r=pike
browser/locales/filter.py
--- a/browser/locales/filter.py
+++ b/browser/locales/filter.py
@@ -12,22 +12,19 @@ def test(mod, path, entity = None):
                  "other-licenses/branding/firefox",
                  "browser/branding/official",
                  "services/sync"):
     return "ignore"
   if mod not in ("browser", "extensions/spellcheck"):
     # 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
     return "error"
   if path == "defines.inc":
     return "ignore" if entity == "MOZ_LANGPACK_CONTRIBUTORS" else "error"
 
   if mod == "browser" and path == "chrome/browser-region/region.properties":