From 1a0e3cb2cc4b54d5c39b11db11653b5b82016f9b Mon Sep 17 00:00:00 2001 From: "maruel@chromium.org" Date: Wed, 10 Jun 2009 18:03:04 +0000 Subject: [PATCH] Add the default parameter to CheckChangeSvnEolStyle. TEST=unit test BUG=none Review URL: http://codereview.chromium.org/119433 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@18074 0039d316-1c4b-4281-b951-d872f2087c98 --- presubmit_canned_checks.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/presubmit_canned_checks.py b/presubmit_canned_checks.py index 84d7f8e0c..6b3a4eed2 100755 --- a/presubmit_canned_checks.py +++ b/presubmit_canned_checks.py @@ -119,7 +119,7 @@ def CheckLongLines(input_api, output_api, maxlen=80, source_file_filter=None): return [] -def CheckChangeSvnEolStyle(input_api, output_api, source_file_filter): +def CheckChangeSvnEolStyle(input_api, output_api, source_file_filter=None): """Checks that the source files have svn:eol-style=LF.""" bad = filter(lambda f: f.scm == 'svn' and f.Property('svn:eol-style') != 'LF', input_api.AffectedSourceFiles(source_file_filter))