Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZoltan Varga <vargaz@gmail.com>2011-10-27 04:00:45 +0400
committerZoltan Varga <vargaz@gmail.com>2011-10-27 04:01:09 +0400
commit5b7225d3a143eecd5dc22c580287dbb1b90c2d4c (patch)
tree8654247bc0f15ab9d576efb4c12084540948f921 /scripts/commits-to-changelog.py
parentf868f65013502de8f01ff014b5a4780f2c07e6df (diff)
Fix make dist
Diffstat (limited to 'scripts/commits-to-changelog.py')
-rwxr-xr-xscripts/commits-to-changelog.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/scripts/commits-to-changelog.py b/scripts/commits-to-changelog.py
index c95f230e7d5..bec87d9e582 100755
--- 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: