Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(676)

Unified Diff: presubmit_canned_checks.py

Issue 119433: Add the default parameter to CheckChangeSvnEolStyle. (Closed)
Patch Set: Created 11 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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))
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698