diff options
author | Zoltan Varga <vargaz@gmail.com> | 2011-10-27 04:00:45 +0400 |
---|---|---|
committer | Zoltan Varga <vargaz@gmail.com> | 2011-10-27 04:01:09 +0400 |
commit | 5b7225d3a143eecd5dc22c580287dbb1b90c2d4c (patch) | |
tree | 8654247bc0f15ab9d576efb4c12084540948f921 /scripts/commits-to-changelog.py | |
parent | f868f65013502de8f01ff014b5a4780f2c07e6df (diff) |
Fix make dist
Diffstat (limited to 'scripts/commits-to-changelog.py')
-rwxr-xr-x | scripts/commits-to-changelog.py | 2 |
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: |