Permalink
Browse files

avoid doublespaces

  • Loading branch information...
1 parent c654235 commit 40dd2aea830c70a518a16e55e79732a584d85abd @jvasile committed Mar 13, 2012
Showing with 4 additions and 1 deletion.
  1. +4 −1 git2changelog.py
View
@@ -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

0 comments on commit 40dd2ae

Please sign in to comment.