Fixes a bug whereby tags are expected to be a set

Fixes #11424
Fixes #11429
pull/11439/head
James Cammarata 10 years ago
parent f7da725d53
commit 0cfebb8760

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

Loading…
Cancel
Save