switch scripts module to no longer use set_prefix()
This commit is contained in:
parent
73232b40e1
commit
76286e2bd0
1 changed files with 2 additions and 2 deletions
|
@ -60,9 +60,9 @@ class Module(ModuleManager.BaseModule):
|
|||
if out:
|
||||
if proc.returncode == 0:
|
||||
if "stdout" in event:
|
||||
event["stdout"].set_prefix(name)
|
||||
event["stdout"].prefix = name
|
||||
event["stdout"].write(out)
|
||||
else:
|
||||
if "stderr" in event:
|
||||
event["stderr"].set_prefix(name)
|
||||
event["stderr"].prefix = name
|
||||
event["stderr"].write(out)
|
||||
|
|
Loading…
Reference in a new issue