mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-07 22:02:50 +00:00
PEP 8 cleanup. (#20789)
* PEP 8 E703 cleanup. * PEP 8 E701 cleanup. * PEP 8 E711 cleanup. * PEP 8 W191 and E101 cleanup.
This commit is contained in:
@@ -75,7 +75,7 @@ def run_cmd(cmd, live=False, readsize=10):
|
||||
if (not rpipes or not rfd) and p.poll() is not None:
|
||||
break
|
||||
# Calling wait while there are still pipes to read can cause a lock
|
||||
elif not rpipes and p.poll() == None:
|
||||
elif not rpipes and p.poll() is None:
|
||||
p.wait()
|
||||
|
||||
return p.returncode, stdout, stderr
|
||||
|
||||
Reference in New Issue
Block a user