diff options
author | maruel@chromium.org <maruel@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-06-04 00:00:42 +0000 |
---|---|---|
committer | maruel@chromium.org <maruel@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-06-04 00:00:42 +0000 |
commit | 085bdc928b2ecdac1148b14539e079a85e96f4c3 (patch) | |
tree | c65098f119c93e78912f055988ddb633b2f24336 /PRESUBMIT.py | |
parent | d7dfe814d7f3afa088da8c798397f3a414ced1a8 (diff) | |
download | chromium_src-085bdc928b2ecdac1148b14539e079a85e96f4c3.zip chromium_src-085bdc928b2ecdac1148b14539e079a85e96f4c3.tar.gz chromium_src-085bdc928b2ecdac1148b14539e079a85e96f4c3.tar.bz2 |
Fix PRESUBMIT.py's path handling.
Review URL: http://codereview.chromium.org/118202
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@17574 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'PRESUBMIT.py')
-rwxr-xr-x | PRESUBMIT.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/PRESUBMIT.py b/PRESUBMIT.py index c2f0b77..f4f69db 100755 --- a/PRESUBMIT.py +++ b/PRESUBMIT.py @@ -87,7 +87,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(f.AbsoluteLocalPath()) if '\r' in contents: cr_files.append(path) |