move where optional for_str is inserted
This commit is contained in:
parent
72649a90c2
commit
208eb9cd47
1 changed files with 1 additions and 1 deletions
|
@ -212,7 +212,7 @@ class Module(ModuleManager.BaseModule):
|
||||||
if name_override:
|
if name_override:
|
||||||
for_str = " for %s" % name_override
|
for_str = " for %s" % name_override
|
||||||
if result.result == ConfigResults.Changed:
|
if result.result == ConfigResults.Changed:
|
||||||
event["stdout"].write("Config '%s' %sset to %s" %
|
event["stdout"].write("Config '%s'%s set to %s" %
|
||||||
(setting, for_str, result.data))
|
(setting, for_str, result.data))
|
||||||
elif result.result == ConfigResults.Retrieved:
|
elif result.result == ConfigResults.Retrieved:
|
||||||
event["stdout"].write("%s%s: %s" % (setting, for_str,
|
event["stdout"].write("%s%s: %s" % (setting, for_str,
|
||||||
|
|
Loading…
Reference in a new issue