Make zypper work with python3

(cherry picked from commit 24e94ec3c6)
This commit is contained in:
Robin Roth 2018-06-25 20:02:38 +02:00 committed by Toshio Kuratomi
parent 8ac0f26b28
commit 150edc4605

View file

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