mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-08 06:12:51 +00:00
yum module handle list optional empty strings properly (#46634)
Fixes #46517 Signed-off-by: Adam Miller <admiller@redhat.com>
This commit is contained in:
@@ -130,6 +130,9 @@ class YumDnf(with_metaclass(ABCMeta, object)):
|
||||
|
||||
some_list.extend(new_list)
|
||||
|
||||
if some_list == [""]:
|
||||
return []
|
||||
|
||||
return some_list
|
||||
|
||||
@abstractmethod
|
||||
|
||||
Reference in New Issue
Block a user