[Reproducible-commits] [misc] 01/01: don't emit issues: if there aren't any; makes jenkins sad

Chris West faux-guest at moszumanska.debian.org
Sat Feb 7 11:02:47 UTC 2015


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

faux-guest pushed a commit to branch master
in repository misc.

commit f56c7a42c8a6e8f84474480d4f85e9db082614ec
Author: Chris West (Faux) <git at goeswhere.com>
Date:   Sat Feb 7 11:02:11 2015 +0000

    don't emit issues: if there aren't any; makes jenkins sad
---
 clean-notes | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/clean-notes b/clean-notes
index 500bfb9..6e49f3b 100755
--- a/clean-notes
+++ b/clean-notes
@@ -272,7 +272,7 @@ def write_out(notes):
             out += ("  comments: |\n")
             for line in values['comments'].strip().split('\n'):
                 out += ("    " + line + "\n")
-        if 'issues' in values:
+        if 'issues' in values and values['issues']:
             out += ("  issues:\n")
             for issue in values['issues']:
                 out += ("    - " + issue + "\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