b2g/locales/filter.py
author Carsten "Tomcat" Book <cbook@mozilla.com>
Fri, 11 Jul 2014 10:11:42 +0200
changeset 193569 35870757328d3964876124c87874579b9456180c
parent 114612 b88467155adc05de38258af53d51e2ba381a1284
child 302768 648cd71d3249491ea1fc7822af98b4e39fd79957
child 304459 86229631572d4475b08ebd0a097846bf2eb58e27
permissions -rw-r--r--
Backed out changeset 01291e659c2b (bug 719186) for e10s linux test failure on a CLOSED TREE

# 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"