mirror of
https://github.com/valitydev/salt.git
synced 2024-11-07 08:58:59 +00:00
fixing lint violation
This commit is contained in:
parent
8b1a465156
commit
4e521a973e
@ -555,7 +555,7 @@ def info_available(*names, **kwargs):
|
||||
if nfo.get('status'):
|
||||
nfo['status'] = nfo.get('status')
|
||||
if nfo.get('installed'):
|
||||
nfo['installed'] = nfo.get('installed').lower().startswith( 'yes' ) and True or False
|
||||
nfo['installed'] = nfo.get('installed').lower().startswith('yes')
|
||||
|
||||
return ret
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user