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
experimental/szager/collated-output
maruel@chromium.org 16 years ago
parent c809ec2749
commit 1a0e3cb2cc

@ -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))

Loading…
Cancel
Save