aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--MgaRepo/log.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/MgaRepo/log.py b/MgaRepo/log.py
index 84ed5cc..d7ad511 100644
--- a/MgaRepo/log.py
+++ b/MgaRepo/log.py
@@ -308,7 +308,8 @@ def dump_file(releases, currentlog=None, template=None):
first = False
else:
draft = draft + spaces + line + "\n"
- draft += '\n'
+ if rel is not releases_author[-1]:
+ draft += "\n"
else:
# default template
if not releases_author[-1].visible:
@@ -331,7 +332,8 @@ def dump_file(releases, currentlog=None, template=None):
for rev in author.revisions:
for line in rev.lines:
draft = draft + line + "\n"
- draft += "\n"
+ if rel is not releases_author[-1]:
+ draft += "\n"
return draft
class InvalidEntryError(Exception):