aboutsummaryrefslogtreecommitdiff
path: root/rpkid/pubd.py
diff options
context:
space:
mode:
authorRob Austein <sra@hactrn.net>2010-07-11 12:25:21 +0000
committerRob Austein <sra@hactrn.net>2010-07-11 12:25:21 +0000
commit937f0ae8085d78c2ee6816ef107e11ca5517c2e2 (patch)
treee7506cfdcdaa3b84fdfa39295c75c76024b2e15a /rpkid/pubd.py
parenta0a725ccaf14eef16cbe92da06f3ef27ccea1f29 (diff)
Clean up uses of RuntimeError exception
svn path=/rpkid/irdbd.py; revision=3378
Diffstat (limited to 'rpkid/pubd.py')
-rw-r--r--rpkid/pubd.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/rpkid/pubd.py b/rpkid/pubd.py
index 8288116f..ca097923 100644
--- a/rpkid/pubd.py
+++ b/rpkid/pubd.py
@@ -167,7 +167,7 @@ for o, a in opts:
elif o in ("-p", "--profile"):
profile = a
if argv:
- raise RuntimeError, "Unexpected arguments %s" % argv
+ raise rpki.exceptions.CommandParseFailure, "Unexpected arguments %s" % argv
rpki.log.init("pubd")