Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(265)

Unified Diff: PRESUBMIT.py

Issue 11534010: Pass a list of strings rather than a string-as-list. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Address review comment. Created 8 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: PRESUBMIT.py
diff --git a/PRESUBMIT.py b/PRESUBMIT.py
index 3124dd7ce792a5eb6dbaddf636ce54d0f375910e..b395233d2462df2c941367ae9b9a33ca0d2afce1 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))
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698