diff options
Diffstat (limited to 'PRESUBMIT.py')
-rwxr-xr-x | PRESUBMIT.py | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/PRESUBMIT.py b/PRESUBMIT.py index 4b6c55b..e1b33a8 100755 --- a/PRESUBMIT.py +++ b/PRESUBMIT.py @@ -37,10 +37,6 @@ def ReadFile(path): return contents -# Seam for unit testing -_ReadFile = ReadFile - - def CheckChangeOnUpload(input_api, output_api): # TODO(maruel): max_cols is temporarily disabled. Reenable once the source # tree is in better shape. @@ -87,7 +83,7 @@ def LocalChecks(input_api, output_api, max_cols=80): # Need to read the file ourselves since AffectedFile.NewContents() # will normalize line endings. - contents = _ReadFile(path) + contents = ReadFile(path) if '\r' in contents: cr_files.append(path) |