aboutsummaryrefslogtreecommitdiff
path: root/rpkid/tests/testpoke.py
diff options
context:
space:
mode:
Diffstat (limited to 'rpkid/tests/testpoke.py')
-rw-r--r--rpkid/tests/testpoke.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/rpkid/tests/testpoke.py b/rpkid/tests/testpoke.py
index 0e9c06cd..26cd29aa 100644
--- a/rpkid/tests/testpoke.py
+++ b/rpkid/tests/testpoke.py
@@ -12,7 +12,7 @@ Default configuration file is testpoke.yaml, override with --yaml option.
$Id$
-Copyright (C) 2010 Internet Systems Consortium ("ISC")
+Copyright (C) 2010--2011 Internet Systems Consortium ("ISC")
Permission to use, copy, modify, and distribute this software for any
purpose with or without fee is hereby granted, provided that the above
@@ -151,8 +151,7 @@ def do_revoke():
dispatch = { "list" : do_list, "issue" : do_issue, "revoke" : do_revoke }
def fail(e):
- if debug:
- rpki.log.traceback()
+ rpki.log.traceback(debug)
sys.exit("Testpoke failed: %s" % e)
cms_ta = get_PEM("cms-ca-cert", rpki.x509.X509)