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

Unified Diff: appengine/components/components/template.py

Issue 1481573002: Update jinja2 to master (between 2.8 and 2.8.1); fix urlencode bug. (Closed) Base URL: git@github.com:luci/luci-py.git@1_tools
Patch Set: Add import hack Created 5 years 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
Index: appengine/components/components/template.py
diff --git a/appengine/components/components/template.py b/appengine/components/components/template.py
index ab9e71d3918bd79fd367ecb72c8ef0913f2543bf..e4aede520a65efe1da3150467c30237a0061128a 100644
--- a/appengine/components/components/template.py
+++ b/appengine/components/components/template.py
@@ -7,12 +7,14 @@
import os
import urllib
+from components import utils
+utils.import_jinja2()
+
import jinja2
from google.appengine.api import users
from components import natsort
-from components import utils
NON_BREAKING_HYPHEN = u'\u2011'
« no previous file with comments | « appengine/auth_service/test_replica_app/app.yaml ('k') | appengine/components/components/third_party/jinja2/AUTHORS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698