1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

Fixes a bug whereby tags are expected to be a set

Fixes #11424
Fixes #11429
This commit is contained in:
James Cammarata 2015-06-30 07:17:50 -04:00
parent f7da725d53
commit 0cfebb8760

View file

@ -68,7 +68,7 @@ class Taggable:
else:
tags = set([tags])
else:
tags = [i for i,_ in itertools.groupby(tags)]
tags = set([i for i,_ in itertools.groupby(tags)])
else:
# this makes intersection work for untagged
tags = self.__class__.untagged