mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-06 13:22:48 +00:00
Make zypper work with python3
This commit is contained in:
@@ -488,7 +488,7 @@ def main():
|
||||
update_cache = module.params['update_cache']
|
||||
|
||||
# remove empty strings from package list
|
||||
name = filter(None, name)
|
||||
name = list(filter(None, name))
|
||||
|
||||
# Refresh repositories
|
||||
if update_cache and not module.check_mode:
|
||||
|
||||
Reference in New Issue
Block a user