b2g/locales/filter.py
author Wes Kocher <wkocher@mozilla.com>
Mon, 19 Oct 2015 16:21:44 -0700
changeset 268403 19c3ba35bcaefc29534fade508fd077e509ed194
parent 114605 b88467155adc05de38258af53d51e2ba381a1284
child 271291 a907d19137109d7bda15ebf09a67ec3e889fd466
permissions -rw-r--r--
Backed out changeset 668563c7fab8 (bug 1214077) for build failures

# 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",
                 "mobile",
                 "b2g"):
    return "ignore"

  return "error"