[Reproducible-commits] [misc] 01/01: clean-notes: do not extra newline to comments

Jérémy Bobbio lunar at moszumanska.debian.org
Sun Jan 4 18:18:23 UTC 2015


This is an automated email from the git hooks/post-receive script.

lunar pushed a commit to branch master
in repository misc.

commit c5c388d9b663432c6001c157ea5398c646634a07
Author: Jérémy Bobbio <lunar at debian.org>
Date:   Sun Jan 4 19:18:11 2015 +0100

    clean-notes: do not extra newline to comments
---
 clean-notes | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/clean-notes b/clean-notes
index 94a0032..de7f8d6 100755
--- a/clean-notes
+++ b/clean-notes
@@ -78,7 +78,7 @@ def write_out(notes):
             warning("There is no version set for the package " + pkg + ".")
         if 'comments' in values:
             out += ("  comments: |\n")
-            for line in values['comments'].split('\n'):
+            for line in values['comments'].strip().split('\n'):
                 out += ("    " + line + "\n")
         if 'issues' in values:
             out += ("  issues:\n")

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/reproducible/misc.git



More information about the Reproducible-commits mailing list