summaryrefslogtreecommitdiffstats
path: root/PRESUBMIT.py
diff options
context:
space:
mode:
authormaruel@chromium.org <maruel@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-05-05 23:24:53 +0000
committermaruel@chromium.org <maruel@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-05-05 23:24:53 +0000
commitea14138640443f60808ebb388d7dbdba630252d6 (patch)
tree1099085e50d88d75603e06014ba6eb1761b4d709 /PRESUBMIT.py
parentbd437d94ace9e3d1d018d87bf9648200ee4ae599 (diff)
downloadchromium_src-ea14138640443f60808ebb388d7dbdba630252d6.zip
chromium_src-ea14138640443f60808ebb388d7dbdba630252d6.tar.gz
chromium_src-ea14138640443f60808ebb388d7dbdba630252d6.tar.bz2
Fix a bug in PRESUBMIT.py because of default argument ordering.
BUG=none TEST=none Review URL: http://codereview.chromium.org/1941004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@46520 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'PRESUBMIT.py')
-rw-r--r--PRESUBMIT.py10
1 files changed, 5 insertions, 5 deletions
diff --git a/PRESUBMIT.py b/PRESUBMIT.py
index bdbbd78..383819e 100644
--- a/PRESUBMIT.py
+++ b/PRESUBMIT.py
@@ -42,21 +42,21 @@ def _CommonChecks(input_api, output_api):
text_files = lambda x: input_api.FilterSourceFile(x, black_list=black_list,
white_list=white_list)
results.extend(input_api.canned_checks.CheckLongLines(
- input_api, output_api, sources))
+ input_api, output_api, source_file_filter=sources))
results.extend(input_api.canned_checks.CheckChangeHasNoTabs(
- input_api, output_api, sources))
+ input_api, output_api, source_file_filter=sources))
results.extend(input_api.canned_checks.CheckChangeHasNoStrayWhitespace(
- input_api, output_api, sources))
+ input_api, output_api, source_file_filter=sources))
results.extend(input_api.canned_checks.CheckChangeHasBugField(
input_api, output_api))
results.extend(input_api.canned_checks.CheckChangeHasTestField(
input_api, output_api))
results.extend(input_api.canned_checks.CheckChangeSvnEolStyle(
- input_api, output_api, text_files))
+ input_api, output_api, source_file_filter=text_files))
results.extend(input_api.canned_checks.CheckSvnForCommonMimeTypes(
input_api, output_api))
results.extend(input_api.canned_checks.CheckLicense(
- input_api, output_api, _LICENSE_HEADER, sources))
+ input_api, output_api, _LICENSE_HEADER, source_file_filter=sources))
return results