0

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:
joi@chromium.org
2012-12-11 15:11:56 +00:00
parent 8f1fbe785a
commit 78bb39d6bc

@ -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))