mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-25 22:01:30 +00:00
Bug 1015549 - [mobile] Update filter.py to ignore new keys in region.properties. r=rnewman
This commit is contained in:
parent
0e474eee60
commit
732a3bfa3d
@ -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"
|
||||
|
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user