diff options
author | maruel@chromium.org <maruel@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-05-05 23:24:53 +0000 |
---|---|---|
committer | maruel@chromium.org <maruel@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-05-05 23:24:53 +0000 |
commit | ea14138640443f60808ebb388d7dbdba630252d6 (patch) | |
tree | 1099085e50d88d75603e06014ba6eb1761b4d709 /PRESUBMIT.py | |
parent | bd437d94ace9e3d1d018d87bf9648200ee4ae599 (diff) | |
download | chromium_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.py | 10 |
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 |