Pylint fix

Also switched the arg order in the format call to make it easier to determine which option is referenced where.
This commit is contained in:
Nicole Thomas 2016-11-21 09:14:50 -07:00 committed by rallytime
parent ec65924659
commit 1ba15577bd

View file

@ -88,7 +88,7 @@ def compile_template(template,
try:
input_data.seek(0)
except Exception as exp:
log.error('error while compiling template={1}: {0}'.format(exp,template))
log.error('error while compiling template \'{0}\': {1}'.format(template, exp))
render_kwargs = dict(renderers=renderers, tmplpath=template)
render_kwargs.update(kwargs)