Commit 86e4e5b8 authored by Julien Muchembled's avatar Julien Muchembled

jinja2: annotate compiled source with source path rather than download destination path

parent b55df9c7
......@@ -233,7 +233,7 @@ class Recipe(object):
if is_temp:
compiled_source_cache[template] = compiled_source = \
env.compile(source, filename=download_path)
env.compile(source, filename=template)
template_object = env.template_class.from_code(env,
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