Kaydet (Commit) d2412a35 authored tarafından Greg Ward's avatar Greg Ward

Harry Henry Gebel: fix '_format_changelog()' so it doesn't bomb if

passed None.
üst 14c8d05a
......@@ -436,6 +436,8 @@ class bdist_rpm (Command):
def _format_changelog(self, changelog):
"""Format the changelog correctly and convert it to a list of strings
"""
if not changelog:
return changelog
new_changelog = []
for line in string.split(string.strip(changelog), '\n'):
line = string.strip(line)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment