[runtime]Fix deregister_reflection_info_roots_from_list to avoid full type resolution...
[mono.git] / scripts / commits-to-changelog.py
index c95f230e7d5d74fcd08fb77a52386ca5acce0d09..bec87d9e582305395e27b68a6fdc53176549dffa 100755 (executable)
@@ -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: