Skip to content

Commit

Permalink
avoid doublespaces
Browse files Browse the repository at this point in the history
  • Loading branch information
jvasile committed Mar 13, 2012
1 parent c654235 commit 40dd2ae
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion git2changelog.py
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,10 @@ def render(self):
for c in self:
out = c.render(last=last)
if out:
print out
if out.endswith("\n\n"):
print out[:-1]
else:
print out
last = c
print self.__getitem__(-1).author_line

Expand Down

0 comments on commit 40dd2ae

Please sign in to comment.