summaryrefslogtreecommitdiffstats
path: root/webkit
diff options
context:
space:
mode:
authorrobertshield@chromium.org <robertshield@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-11-02 20:33:25 +0000
committerrobertshield@chromium.org <robertshield@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-11-02 20:33:25 +0000
commitfbf315e78111ff19a57df0feb8c51dd7bdac2f0a (patch)
tree6377f441388db13b1ade650204572a94edfa473f /webkit
parent7e57c3136646285464f03895528680067b73ee90 (diff)
downloadchromium_src-fbf315e78111ff19a57df0feb8c51dd7bdac2f0a.zip
chromium_src-fbf315e78111ff19a57df0feb8c51dd7bdac2f0a.tar.gz
chromium_src-fbf315e78111ff19a57df0feb8c51dd7bdac2f0a.tar.bz2
Fix up PRESUBMIT.py to handle unicode paths as well.
BUG=Would not run correctly on Windows. TEST=None. Review URL: http://codereview.chromium.org/4335001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@64803 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit')
-rw-r--r--webkit/tools/layout_tests/PRESUBMIT.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/webkit/tools/layout_tests/PRESUBMIT.py b/webkit/tools/layout_tests/PRESUBMIT.py
index adce6dc..0e89a6f 100644
--- a/webkit/tools/layout_tests/PRESUBMIT.py
+++ b/webkit/tools/layout_tests/PRESUBMIT.py
@@ -11,7 +11,7 @@ details on the presubmit API built into gcl.
TEST_EXPECTATIONS = 'test_expectations.txt'
def LintTestFiles(input_api, output_api):
- current_dir = input_api.PresubmitLocalPath()
+ current_dir = str(input_api.PresubmitLocalPath())
# Set 'webkit/tools/layout_tests' in include path.
python_paths = [
current_dir,