gecko/b2g/locales/filter.py
Axel Hecht 225286293f bug 796051, add chrome-% target to package b2g localized files, r=fabrice
--HG--
extra : rebase_source : e07b9c96d598f9665e2b7392df40032ac503a06a
2012-11-30 09:22:48 -07:00

15 lines
477 B
Python

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