mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
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:
parent
ec65924659
commit
1ba15577bd
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Reference in a new issue