b2g/locales/filter.py
author Jonathan Watt <jwatt@jwatt.org>
Fri, 03 Jun 2016 11:27:31 +0100
changeset 301374 b70203799e112afb9d9db09ebfac7f0b0ae71e33
parent 271147 a907d19137109d7bda15ebf09a67ec3e889fd466
permissions -rw-r--r--
Bug 1278269 - Make a PrintTarget class and PrintTargetThebes subclass and convert all nsIDeviceContextSpec subclasses to use them. r=Bas

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