[Reproducible-commits] [misc] 01/01: clean-notes: don't boil out if 'bugs' is empty
Mattia Rizzolo
mattia at mapreri.org
Mon Sep 14 20:32:20 UTC 2015
This is an automated email from the git hooks/post-receive script.
mapreri-guest pushed a commit to branch master
in repository misc.
commit 050959ad3ab67f6cef19ca43400708f13107eba2
Author: Mattia Rizzolo <mattia at mapreri.org>
Date: Mon Sep 14 20:32:13 2015 +0000
clean-notes: don't boil out if 'bugs' is empty
---
clean-notes | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/clean-notes b/clean-notes
index dd3e119..18d7922 100755
--- a/clean-notes
+++ b/clean-notes
@@ -474,7 +474,7 @@ def write_out(notes):
out += " issues:\n"
for issue in values['issues']:
out += " - %s\n" % issue
- if 'bugs' in values:
+ if 'bugs' in values and values['bugs']:
out += " bugs:\n"
for bug in values['bugs']:
out += " - %s\n" % bug
--
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