b2g/locales/filter.py
author Makoto Kato <m_kato@ga2.so-net.ne.jp>
Tue, 29 Dec 2015 22:57:38 +0900
changeset 315134 4cd8ab65dd297c2730b7237690eebd5d6a66cf69
parent 307108 a907d19137109d7bda15ebf09a67ec3e889fd466
permissions -rw-r--r--
Bug 1208944 - Part 2-b. Workaround for OSX. r=masayuki

# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.


def test(mod, path, entity = None):
  import re
  # ignore anything but b2g and specific overloads from dom and toolkit
  if mod not in ("netwerk", "dom", "toolkit", "security/manager",
                 "devtools/shared",
                 "mobile",
                 "b2g"):
    return "ignore"

  return "error"