Skip to content
This repository has been archived by the owner on Jul 24, 2018. It is now read-only.

Commit

Permalink
Add separator between messages in digest
Browse files Browse the repository at this point in the history
  • Loading branch information
mattiaverga committed Feb 21, 2016
1 parent ad516e6 commit c63f884
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion fmn/consumer/backends/mail.py
Expand Up @@ -148,7 +148,8 @@ def _format_line(msg):

n = len(queued_messages)
subject = u"Fedora Notifications Digest (%i updates)" % n
content = "\n".join([
separator = "\n\n" + "-"*80 + "\n\n"
content = separator.join([
_format_line(queued_message.message)
for queued_message in queued_messages])

Expand Down

0 comments on commit c63f884

Please sign in to comment.