Chromium Code Reviews| Index: presubmit.py |
| =================================================================== |
| --- presubmit.py (revision 14982) |
| +++ presubmit.py (working copy) |
| @@ -630,7 +630,7 @@ |
| if verbose: |
| print "Running %s" % filename |
| # Accept CRLF presubmit script. |
| - presubmit_script = gcl.ReadFile(filename, 'Ur') |
| + presubmit_script = gcl.ReadFile(filename, 'rU') |
| results += executer.ExecPresubmitScript(presubmit_script, filename) |
| errors = [] |