Bugfix: use boolean type instead of string "Yes" or "No" (NOTE: this was forgotten)

This commit is contained in:
Bo Maryniuk 2015-10-08 15:08:32 +02:00
parent decb989eb4
commit 350340dafa

View file

@ -164,6 +164,8 @@ def info_available(*names, **kwargs):
ret[name] = nfo
if nfo.get("status"):
nfo['status'] = nfo.get("status").split(" ")[0]
if nfo.get("installed"):
nfo['installed'] = nfo.get("installed").lower() == "yes" and True or False
return ret