Bug 1039866 - Follow-up to fix missing paren which busted some l10n stuff. r=me
authorKartikaya Gupta <kgupta@mozilla.com>
Fri, 24 Apr 2015 09:46:46 -0400
changeset 259416 026bec3cff5735e15be4846a16270dad1ad78bf5
parent 259415 237b579d8a2672ba6412af62254b08bd4c752ad3
child 259417 63669a3ca6c3e929de37238542f6a0d669caaf8e
push id1730
push userjryans@gmail.com
push dateFri, 24 Apr 2015 20:27:10 +0000
reviewersme
bugs1039866
milestone40.0a1
Bug 1039866 - Follow-up to fix missing paren which busted some l10n stuff. r=me
browser/locales/filter.py
--- a/browser/locales/filter.py
+++ b/browser/locales/filter.py
@@ -15,17 +15,17 @@ def test(mod, path, entity = None):
   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
     if mod == "extensions/spellcheck":
       return "ignore"
     # browser
-    if (re.match(r"searchplugins\/.+\.xml", path):
+    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"