summaryrefslogtreecommitdiffstats
path: root/PRESUBMIT.py
diff options
context:
space:
mode:
authorjoi@chromium.org <joi@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-12-11 15:11:56 +0000
committerjoi@chromium.org <joi@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-12-11 15:11:56 +0000
commit78bb39d6bcc913c986729d2c1455d1fe95f7a9ba (patch)
tree2c370af00a52e2b1872ebe61828e1cdf8c5b3407 /PRESUBMIT.py
parent8f1fbe785af646f70e10e3441456ce5ae63bc45f (diff)
downloadchromium_src-78bb39d6bcc913c986729d2c1455d1fe95f7a9ba.zip
chromium_src-78bb39d6bcc913c986729d2c1455d1fe95f7a9ba.tar.gz
chromium_src-78bb39d6bcc913c986729d2c1455d1fe95f7a9ba.tar.bz2
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
Diffstat (limited to 'PRESUBMIT.py')
-rw-r--r--PRESUBMIT.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/PRESUBMIT.py b/PRESUBMIT.py
index 3124dd7..b395233 100644
--- a/PRESUBMIT.py
+++ b/PRESUBMIT.py
@@ -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))