gnunetbib

Bibliography (BibTeX, based on AnonBib)
Log | Files | Refs | README | LICENSE

commit 08a78475591214e35bf065ea65d3aaeecd6c79d7
parent f03ea3be50e80764c5de3176ff38c7124127ee60
Author: Nick Mathewson <nickm@torproject.org>
Date:   Tue, 20 May 2003 18:59:41 +0000

year:?? is not a good name for a year.


svn:r17

Diffstat:
MwriteHTML.py | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/writeHTML.py b/writeHTML.py @@ -95,7 +95,7 @@ f.close() entries = BibTeX.sortEntriesByDate(bib.entries) entries = BibTeX.splitSortedEntriesBy(entries, 'year') -if entries[-1][0] == None: +if entries[-1][0].startswith("<span class='bad'>"): entries[-1] = ("Unknown", entries[-1][1]) sections = [ ent[0] for ent in entries ] @@ -106,7 +106,7 @@ except ValueError: last_year = int(entries[-2][1][0].get('year')) years = map(str, range(first_year, last_year+1)) -if entries[-1][0] == 'year:??' +if entries[-1][0] == 'Unknown': years.append("Unknown") f = open(os.path.join(config.OUTPUT_DIR,"date.html"), 'w')