Fix style errors

pull/437/head
Dave Cunningham 9 years ago
parent 5afadf1c33
commit 148129d933

@ -282,7 +282,8 @@ def ExpandJinja(file_name, source_template, resource, imports):
""" """
try: 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)) env = jinja2.Environment(loader=jinja2.DictLoader(jinja_imports))
template = env.from_string(source_template) template = env.from_string(source_template)

Loading…
Cancel
Save