From b0a3a31d5caaeafb63ff415fc9b86b537b759f21 Mon Sep 17 00:00:00 2001 From: Thibaut Horel Date: Thu, 4 Feb 2016 21:15:50 -0500 Subject: Remove redundant entry list --- writeHTML.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'writeHTML.py') diff --git a/writeHTML.py b/writeHTML.py index 9e7ddd7..c43da6b 100755 --- a/writeHTML.py +++ b/writeHTML.py @@ -122,10 +122,10 @@ def jsonDumper(obj): def writePageSet(config, bib, tag): if tag: - bib_entries = [ b for b in bib.entries + bib_entries = [ b for b in bib.entries.values() if tag in b.get('www_tags', "").split() ] else: - bib_entries = bib.entries[:] + bib_entries = bib.entries.copy().values() if not bib_entries: print >>sys.stderr, "No entries with tag %r; skipping"%tag -- cgit v1.2.3-70-g09d2