mail/locales/filter.py
author Mark Banner <bugzilla@standard8.plus.com>
Wed, 30 Jul 2008 08:15:55 -0700
changeset 44 c09178986e0a22a2b8542c4c867827e18c928732
parent 0 e4f4569d451a5e0d12a6aa33ebd916f979dd8faa
child 5234 58494ac482bfa9311d688873c53eea32a64d11bb
permissions -rwxr-xr-x
TB Mac bustage fix following bug 422538

def test(mod, path, entity = None):
  import re
  # ignore anyhting but Thunderbird
  if mod not in ("netwerk", "dom", "toolkit", "security/manager",
                 "mail", "editor/ui", "extensions/spellcheck",
                 "other-licenses/branding/thunderbird"):
    return False
  # ignore MOZ_LANGPACK_CONTRIBUTORS
  if mod == "mail" and path == "defines.inc" and \
     entity == "MOZ_LANGPACK_CONTRIBUTORS":
    return False
  # ignore dictionaries
  return not mod == "extensions/spellcheck"