projects
/
mono.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f868f65
)
Fix make dist
author
Zoltan Varga
<vargaz@gmail.com>
Thu, 27 Oct 2011 00:00:45 +0000
(
02:00
+0200)
committer
Zoltan Varga
<vargaz@gmail.com>
Thu, 27 Oct 2011 00:01:09 +0000
(
02:01
+0200)
scripts/commits-to-changelog.py
patch
|
blob
|
history
diff --git
a/scripts/commits-to-changelog.py
b/scripts/commits-to-changelog.py
index c95f230e7d5d74fcd08fb77a52386ca5acce0d09..bec87d9e582305395e27b68a6fdc53176549dffa 100755
(executable)
--- a/
scripts/commits-to-changelog.py
+++ b/
scripts/commits-to-changelog.py
@@
-52,6
+52,8
@@
def changelogs_for_file_pattern (pattern, changed_files):
def format_paragraph (paragraph):
lines = []
words = paragraph.split ()
+ if len (words) == 0:
+ return lines
current = words [0]
for word in words [1:]:
if len (current) + 1 + len (word) <= fill_column: