From 148129d9336e9d8e7b151ca3635ec83927cb799b Mon Sep 17 00:00:00 2001 From: Dave Cunningham Date: Tue, 22 Mar 2016 20:16:17 -0400 Subject: [PATCH] Fix style errors --- expansion/expansion.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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)