[Reproducible-commits] [misc] 01/01: don't try and add notes for non-existing packages

Chris West faux-guest at moszumanska.debian.org
Sat Jul 11 18:10:45 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 3680a676b366ec55afe390d3fb68bdd838fde311
Author: Chris West (Faux) <git at goeswhere.com>
Date:   Sat Jul 11 19:10:42 2015 +0100

    don't try and add notes for non-existing packages
---
 clean-notes | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/clean-notes b/clean-notes
index 74247d8..da4a796 100755
--- a/clean-notes
+++ b/clean-notes
@@ -353,6 +353,9 @@ def parse_bugs(bugs):
 
 def join_notes_bugs(notes, bugs):
     for package in sorted(bugs):
+        if package not in testedpkgs:
+            # maybe the bug is for a removed package?
+            continue
         for bug in sorted(bugs[package]['bugs']):
             try:
                 if 'bugs' in notes[package]:

-- 
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