Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(563)

Unified Diff: Source/core/scripts/template_expander.py

Issue 23498033: Prefer jinja2 from third_party over eventual system jinja2 libraries. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/scripts/template_expander.py
diff --git a/Source/core/scripts/template_expander.py b/Source/core/scripts/template_expander.py
index aafeb6840e66dc861d05b7cd3c7901c2884296ff..e30526f91a3451da290903a61e2109a0e4b87c89 100644
--- a/Source/core/scripts/template_expander.py
+++ b/Source/core/scripts/template_expander.py
@@ -31,7 +31,7 @@ import sys
_current_dir = os.path.dirname(os.path.realpath(__file__))
# jinja2 is in chromium's third_party directory
-sys.path.append(os.path.join(_current_dir, *([os.pardir] * 4)))
+sys.path.insert(0, os.path.join(_current_dir, *([os.pardir] * 4)))
import jinja2
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698