mirror of
https://github.com/valitydev/salt.git
synced 2024-11-08 09:23:56 +00:00
parent
b379dc57fd
commit
ae332d1f88
@ -233,8 +233,7 @@ def format_log(ret):
|
||||
new = chg[pkg]['new']
|
||||
if not new and new not in (False, None):
|
||||
new = 'absent'
|
||||
msg += '\'{0}\' changed from \'{1}\' to ' \
|
||||
'\'{2}\'\n'.format(pkg, old, new)
|
||||
msg += u'\'{0}\' changed from \'{1}\' to \'{2}\'\n'.format(pkg, old, new)
|
||||
if not msg:
|
||||
msg = str(ret['changes'])
|
||||
if ret['result'] is True or ret['result'] is None:
|
||||
|
Loading…
Reference in New Issue
Block a user