mirror of
git://github.com/kovidgoyal/calibre.git
synced 2026-05-05 07:23:43 +02:00
This commit is contained in:
parent
9ed23b2784
commit
8b50aff08c
1 changed files with 2 additions and 1 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Reference in a new issue