mail/locales/filter.py
author hg@mozilla.org
Thu, 18 Sep 2008 16:13:11 +0200
changeset 372 7c0bfdcda6731e77303f3c47b01736aaa93d5534
parent 0 e4f4569d451a5e0d12a6aa33ebd916f979dd8faa
child 5234 58494ac482bfa9311d688873c53eea32a64d11bb
permissions -rwxr-xr-x
bug 455727 - import calendar/ into comm-central, initial import of code from CVS tag HG_COMM_INITIAL_IMPORT at 2008-09-18 07:11:38 PST, imported and tagged cvs.mozilla.org modules: mozilla/calendar mozilla/other-licenses/branding/sunbird/

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"