This commit is contained in:
Kovid Goyal 2008-01-24 17:45:48 +00:00
parent 9ed23b2784
commit 8b50aff08c

View File

@ -40,12 +40,13 @@ def svn_log_to_txt():
if not msg: if not msg:
continue continue
match = version_pat.search(msg) match = version_pat.search(msg)
line = ''
if match: if match:
current_version = True current_version = True
line = u'----\n== Version '+match.group(1)+' ==' line = u'----\n== Version '+match.group(1)+' =='
elif current_version: elif current_version:
line = u' * ' + msg line = u' * ' + msg
if line not in txt: if line and line not in txt:
txt.append(line) txt.append(line)
return u'\n'.join(txt) return u'\n'.join(txt)