[Reproducible-commits] [misc] 01/02: ValueError is the usual exception for this.
Chris Lamb
lamby at moszumanska.debian.org
Mon Feb 23 16:10:12 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 cc516b77957860d03628f630297ae0ad941c7387
Author: Chris Lamb <lamby at debian.org>
Date: Mon Feb 23 16:07:56 2015 +0000
ValueError is the usual exception for this.
---
edit-notes | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/edit-notes b/edit-notes
index 4f12277..7d6c890 100755
--- a/edit-notes
+++ b/edit-notes
@@ -19,7 +19,7 @@ if __name__ == '__main__':
notes = clean.load_notes()
for add in args.add_note:
if not add in issues:
- raise Exception(add + ' is not a valid issue')
+ raise ValueError(add + ' is not a valid issue')
for package in args.packages or notes.keys():
try:
--
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