[Reproducible-commits] [misc] 01/01: edit-notes: skip non-existing packages
Chris West
faux-guest at moszumanska.debian.org
Sat May 2 17:25:31 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 8b3dcfeefb04ffd95b2988878b03a6225961c82e
Author: Chris West (Faux) <git at goeswhere.com>
Date: Sat May 2 18:25:27 2015 +0100
edit-notes: skip non-existing packages
---
edit-notes | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/edit-notes b/edit-notes
index 75cd150..02ff413 100755
--- a/edit-notes
+++ b/edit-notes
@@ -26,7 +26,11 @@ if __name__ == '__main__':
try:
data = notes[package]
except KeyError:
- status = testedpkgs[package]
+ try:
+ status = testedpkgs[package]
+ except KeyError:
+ print("package " + package + " appears not to exist; skipping")
+ continue
data = notes[package] = { 'version': status['version'] }
if args.take_version:
data['version'] = testedpkgs[package]['version']
--
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