diff options
| author | Thibaut Horel <thibaut.horel@gmail.com> | 2016-02-04 21:15:50 -0500 |
|---|---|---|
| committer | Thibaut Horel <thibaut.horel@gmail.com> | 2016-02-04 21:15:50 -0500 |
| commit | b0a3a31d5caaeafb63ff415fc9b86b537b759f21 (patch) | |
| tree | c45680baa96ff847ef430671cd9109394b038cfe /writeHTML.py | |
| parent | aefd088421f96edae2be5fa9a99b9a017d8c2783 (diff) | |
| download | anonbib-b0a3a31d5caaeafb63ff415fc9b86b537b759f21.tar.gz | |
Remove redundant entry list
Diffstat (limited to 'writeHTML.py')
| -rwxr-xr-x | writeHTML.py | 4 |
1 files changed, 2 insertions, 2 deletions
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 |
