diff --git a/expansion/expansion.py b/expansion/expansion.py index 6f113c761..ae8c4fe19 100755 --- a/expansion/expansion.py +++ b/expansion/expansion.py @@ -282,7 +282,8 @@ def ExpandJinja(file_name, source_template, resource, imports): """ try: - jinja_imports = { i['path']: i['content'] for _, i in imports.iteritems() } + jinja_imports = ( + {i['path']: i['content'] for _, i in imports.iteritems()}) env = jinja2.Environment(loader=jinja2.DictLoader(jinja_imports)) template = env.from_string(source_template)