summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authornewt <newt@chromium.org>2015-05-01 19:29:57 -0700
committerCommit bot <commit-bot@chromium.org>2015-05-02 02:30:32 +0000
commit2e7a8c4e93366cf8a35363f5f43f0c08925c6410 (patch)
tree8e1dbb123f2e1746853a636556c449d758601f52
parent8a2bd3a747631e338c47be757a70d6f56a531f3c (diff)
downloadchromium_src-2e7a8c4e93366cf8a35363f5f43f0c08925c6410.zip
chromium_src-2e7a8c4e93366cf8a35363f5f43f0c08925c6410.tar.gz
chromium_src-2e7a8c4e93366cf8a35363f5f43f0c08925c6410.tar.bz2
Fix silly python exception when printing error message.
Oh, Python, I may never understand you completely. Review URL: https://codereview.chromium.org/1122633002 Cr-Commit-Position: refs/heads/master@{#328046}
-rwxr-xr-xbuild/android/gyp/jinja_template.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/build/android/gyp/jinja_template.py b/build/android/gyp/jinja_template.py
index 6653f21..e7c9a34 100755
--- a/build/android/gyp/jinja_template.py
+++ b/build/android/gyp/jinja_template.py
@@ -51,7 +51,7 @@ def ProcessFiles(env, input_filenames, loader_base_dir, inputs_base_dir,
os.path.abspath(inputs_base_dir))
if relpath.startswith(os.pardir):
raise Exception('input file %s is not contained in inputs base dir %s'
- % input_filename, inputs_base_dir)
+ % (input_filename, inputs_base_dir))
output_filename = os.path.join(temp_dir, relpath)
parent_dir = os.path.dirname(output_filename)