mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-08 22:33:25 +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:
@@ -77,7 +77,8 @@ def get_local_version(pear_output):
|
||||
for line in lines:
|
||||
if 'Installed ' in line:
|
||||
installed = line.rsplit(None, 1)[-1].strip()
|
||||
if installed == '-': continue
|
||||
if installed == '-':
|
||||
continue
|
||||
return installed
|
||||
return None
|
||||
|
||||
|
||||
Reference in New Issue
Block a user