From 937f0ae8085d78c2ee6816ef107e11ca5517c2e2 Mon Sep 17 00:00:00 2001 From: Rob Austein Date: Sun, 11 Jul 2010 12:25:21 +0000 Subject: Clean up uses of RuntimeError exception svn path=/rpkid/irdbd.py; revision=3378 --- rpkid/tests/smoketest.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'rpkid/tests/smoketest.py') diff --git a/rpkid/tests/smoketest.py b/rpkid/tests/smoketest.py index 1d7dc266..44897929 100644 --- a/rpkid/tests/smoketest.py +++ b/rpkid/tests/smoketest.py @@ -83,7 +83,7 @@ for o, a in opts: yaml_script = a if argv: print __doc__ - raise RuntimeError, "Unexpected arguments %s" % argv + raise rpki.exceptions.CommandParseFailure, "Unexpected arguments %s" % argv cfg = rpki.config.parser(cfg_file, "smoketest", allow_missing = True) -- cgit v1.2.3