From 787c08a24c8eeb78681f46e88f590b70cff29b58 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Thu, 31 Jul 2014 20:59:35 +0000 Subject: Fix change history on specification index page. --- lv2specgen/lv2specgen.py | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) diff --git a/lv2specgen/lv2specgen.py b/lv2specgen/lv2specgen.py index 3b8e5d5..5ac0e1f 100755 --- a/lv2specgen/lv2specgen.py +++ b/lv2specgen/lv2specgen.py @@ -918,7 +918,8 @@ def releaseChangeset(m, release, prefix=''): if changeset is None: return '' - entry = '
\n' return entry + def specHistoryEntries(m, subject, entries={}): for r in findStatements(m, subject, doap.release, None): release = getObject(r) @@ -955,11 +957,11 @@ def specHistoryEntries(m, subject, entries={}): #print("warning: doap:release has no doap:file-release") if created: - entry += ' (%s)' % getLiteralString(getObject(created)) + entry += ' (%s)\n' % getLiteralString(getObject(created)) else: entry += ' (EXPERIMENTAL)' - entry += releaseChangeset(m, release) + entry += '
' + history += '\n' return history else: return '' -- cgit v1.2.1