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 347381 394726989b1cd941c3926f8d18a47d4741b7096c
parent 347380 6f9d27032d1b666c4c2c92e583ff2a78aef23a3d
child 347382 3a9993173926cfede3e45e1a97c0b9aefd35acb5
push id10298
push userraliiev@mozilla.com
push dateMon, 14 Nov 2016 12:33:03 +0000
treeherdermozilla-aurora@7e29173b1641 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
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":