From 533ae7413c7be613acd33a8e8034d30d4f99f460 Mon Sep 17 00:00:00 2001 From: Angel Rey Date: Tue, 22 Sep 2020 11:07:28 -0500 Subject: [PATCH] Removed comments --- archivebox/index/__init__.py | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/archivebox/index/__init__.py b/archivebox/index/__init__.py index d588242e..06832dbc 100644 --- a/archivebox/index/__init__.py +++ b/archivebox/index/__init__.py @@ -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(','))