mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-04-24 11:21:25 -07: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:
parent
c29d1e3162
commit
d0d1158c5e
72 changed files with 184 additions and 174 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue