Fix version check

This commit is contained in:
twangboy 2016-02-22 15:45:26 -07:00 committed by rallytime
parent 468c637032
commit eb35fcf869

View File

@ -231,7 +231,7 @@ def list_pkgs(versions_as_list=False, **kwargs):
for pkg_name, val in six.iteritems(_get_reg_software()):
if pkg_name in name_map:
key = name_map[pkg_name]
if not val:
if val in ['Not Found', None, False]:
# Look up version from winrepo
pkg_info = _get_package_info(key)
if not pkg_info: