fix quote i.e. change \` to \'

This commit is contained in:
Damon Atkins 2018-01-17 22:28:40 +11:00
parent 6938a4c099
commit f4627d7a80

View File

@ -868,7 +868,7 @@ def _repo_process_pkg_sls(filename, short_path_name, ret, successful_verbose):
renderers = salt.loader.render(__opts__, __salt__) renderers = salt.loader.render(__opts__, __salt__)
def _failed_compile(prefix_msg, error_msg): def _failed_compile(prefix_msg, error_msg):
log.error('{} \`{}\`: {} '.format(prefix_msg, short_path_name, error_msg)) log.error('{} \'{}\': {} '.format(prefix_msg, short_path_name, error_msg))
ret.setdefault('errors', {})[short_path_name] = ['{}, {} '.format(prefix_msg, error_msg)] ret.setdefault('errors', {})[short_path_name] = ['{}, {} '.format(prefix_msg, error_msg)]
return False return False