Bug 1015549 - [mobile] Update filter.py to ignore new keys in region.properties. r=rnewman

This commit is contained in:
Francesco Lodolo (:flod) 2014-05-27 05:51:00 -04:00
parent 0e474eee60
commit 732a3bfa3d
2 changed files with 4 additions and 2 deletions

View File

@ -36,7 +36,8 @@ def test(mod, path, entity = None):
if (re.match(r"browser\.search\.order\.[1-9]", entity) or
re.match(r"browser\.contentHandlers\.types\.[0-5]", entity) or
re.match(r"gecko\.handlerService\.schemes\.", entity) or
re.match(r"gecko\.handlerService\.defaultHandlersVersion", entity)):
re.match(r"gecko\.handlerService\.defaultHandlersVersion", entity) or
re.match(r"browser\.suggestedsites\.", entity)):
return "ignore"
return "error"

View File

@ -36,7 +36,8 @@ def test(mod, path, entity = None):
if (re.match(r"browser\.search\.order\.[1-9]", entity) or
re.match(r"browser\.contentHandlers\.types\.[0-5]", entity) or
re.match(r"gecko\.handlerService\.schemes\.", entity) or
re.match(r"gecko\.handlerService\.defaultHandlersVersion", entity)):
re.match(r"gecko\.handlerService\.defaultHandlersVersion", entity) or
re.match(r"browser\.suggestedsites\.", entity)):
return "ignore"
return "error"