Removed comments
This commit is contained in:
parent
e06d3f9128
commit
533ae7413c
1 changed files with 0 additions and 11 deletions
|
@ -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(','))
|
||||
|
|
Loading…
Reference in a new issue