1
0
Fork 0

Removed comments

This commit is contained in:
Angel Rey 2020-09-22 11:07:28 -05:00
parent e06d3f9128
commit 533ae7413c

View file

@ -86,17 +86,6 @@ def merge_links(a: Link, b: Link) -> Link:
)
# all unique, truthy tags
#tags_a = []
#if a.tags:
# tags_a = a.tags.all()
#tags_b = []
#if b.tags:
# tags_b = b.tags.all()
#tags_set = (
# set(tag.name.strip() for tag in tags_a)
# | set(tag.name.strip() for tag in tags_b)
#)
tags_set = (
set(tag.strip() for tag in (a.tags or '').split(','))
| set(tag.strip() for tag in (b.tags or '').split(','))