Index: presubmit_canned_checks.py |
diff --git a/presubmit_canned_checks.py b/presubmit_canned_checks.py |
index 84d7f8e0c13eb8f07a82a33227b75e16ca792dde..6b3a4eed2c9c0793e3cca47b544c72490f3b4db6 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)) |