mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-07 05:42:50 +00: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:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user