From 8b50aff08c776a452c9c97df6098e0529afa101b Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Thu, 24 Jan 2008 17:45:48 +0000 Subject: [PATCH] --- src/libprs500/trac/plugins/Changelog.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/libprs500/trac/plugins/Changelog.py b/src/libprs500/trac/plugins/Changelog.py index f81958a5b8..571e7082ce 100644 --- a/src/libprs500/trac/plugins/Changelog.py +++ b/src/libprs500/trac/plugins/Changelog.py @@ -40,12 +40,13 @@ def svn_log_to_txt(): if not msg: continue match = version_pat.search(msg) + line = '' if match: current_version = True line = u'----\n== Version '+match.group(1)+' ==' elif current_version: line = u' * ' + msg - if line not in txt: + if line and line not in txt: txt.append(line) return u'\n'.join(txt)