Commit fd47def8 authored by Yusei Tahara's avatar Yusei Tahara

jinja2_template.py: Shorten a long line.

parent 5f97646a
...@@ -228,7 +228,8 @@ class Recipe(object): ...@@ -228,7 +228,8 @@ class Recipe(object):
)[0] )[0]
with open(download_path, 'rb') as f: with open(download_path, 'rb') as f:
source = f.read().decode(self.encoding) source = f.read().decode(self.encoding)
compiled_source_cache[template] = compiled_source = env.compile(source, filename=download_path) compiled_source_cache[template] = compiled_source = \
env.compile(source, filename=download_path)
template_object = env.template_class.from_code(env, template_object = env.template_class.from_code(env,
compiled_source, compiled_source,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment