mirror of
https://github.com/valitydev/salt.git
synced 2024-11-07 08:58:59 +00:00
Fix version check
This commit is contained in:
parent
468c637032
commit
eb35fcf869
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user