Pass a list of strings rather than a string-as-list.
This fixes a stupid bug that got past my testing (I tested the positive case but not the negative). TBR=maruel@chromium.org NOTRY=true BUG=None Review URL: https://chromiumcodereview.appspot.com/11534010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@172328 0039d316-1c4b-4281-b951-d872f2087c98
This commit is contained in:
@ -667,7 +667,7 @@ def _CheckHardcodedGoogleHostsInLowerLayers(input_api, output_api):
|
||||
"""
|
||||
return input_api.FilterSourceFile(
|
||||
affected_file,
|
||||
white_list=('^(android_webview|base|content|net)[\\\/].*'),
|
||||
white_list=(r'^(android_webview|base|content|net)[\\\/].*', ),
|
||||
black_list=(_EXCLUDED_PATHS +
|
||||
_TEST_CODE_EXCLUDED_PATHS +
|
||||
input_api.DEFAULT_BLACK_LIST))
|
||||
|
Reference in New Issue
Block a user