[Reproducible-commits] [misc] 02/06: rewrite to patch add_note (mostly for next commit..)
Chris Lamb
lamby at moszumanska.debian.org
Tue Jul 7 08:32:46 UTC 2015
This is an automated email from the git hooks/post-receive script.
lamby pushed a commit to branch master
in repository misc.
commit 0d6bc3d1f4f078b0fa39ff0b3a55995c89f9ed39
Author: Chris Lamb <lamby at debian.org>
Date: Tue Jul 7 09:26:24 2015 +0100
rewrite to patch add_note (mostly for next commit..)
---
edit-notes | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/edit-notes b/edit-notes
index 2a699e4..96a61ab 100755
--- a/edit-notes
+++ b/edit-notes
@@ -59,7 +59,9 @@ if __name__ == '__main__':
data['issues'].append(add)
for x in args.add_bug:
- data.setdefault('bugs', []).append(x)
+ if 'bugs' not in data:
+ data['bugs'] = []
+ data['bugs'].append(x)
if args.set_comment:
data['comments'] = args.set_comment
--
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