fixing lint violation

This commit is contained in:
Stefan Bogner 2018-05-29 20:25:42 +02:00
parent 8b1a465156
commit 4e521a973e

View File

@ -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