fixed dupe output in raw/command cases

This commit is contained in:
Brian Coca 2015-07-28 14:31:49 -04:00
parent a78fdde32c
commit 3b9282fb90

View file

@ -39,7 +39,6 @@ class CallbackModule(CallbackBase):
buf = "%s | %s | rc=%s >>\n" % (host, caption, result.get('rc',0)) buf = "%s | %s | rc=%s >>\n" % (host, caption, result.get('rc',0))
buf += result.get('stdout','') buf += result.get('stdout','')
buf += result.get('stdout','')
buf += result.get('msg','') buf += result.get('msg','')
return buf + "\n" return buf + "\n"