mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-04-23 19:01:26 -07:00
Some minor from 'pep8', and silencing the PEP8 messages I don't care about.
Also make pep8 show all messages rather than just 1 per code.
This commit is contained in:
parent
0d7a84d591
commit
3ad9db4966
5 changed files with 32 additions and 24 deletions
|
@ -74,11 +74,11 @@ def command_generic_msg(hostname, result, oneline, caption):
|
|||
if not oneline:
|
||||
buf = "%s | %s | rc=%s >>\n" % (hostname, caption, result.get('rc',0))
|
||||
if stdout:
|
||||
buf += stdout
|
||||
buf += stdout
|
||||
if stderr:
|
||||
buf += stderr
|
||||
buf += stderr
|
||||
if msg:
|
||||
buf += msg
|
||||
buf += msg
|
||||
return buf
|
||||
else:
|
||||
if stderr:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue