aboutsummaryrefslogtreecommitdiff
path: root/unit-tests.py
diff options
context:
space:
mode:
authorRob Austein <sra@hactrn.net>2017-05-29 00:44:18 -0400
committerRob Austein <sra@hactrn.net>2017-05-29 00:44:18 -0400
commit5cee716555db92942c5b11c824839bb00aaf35b9 (patch)
tree6003da5d6b3a7f5994a6db24ba1a6d1594f62ae9 /unit-tests.py
parent9e20f2fa42bcd493548bf7764958848ab72d1255 (diff)
Debug per-session keys.
Diffstat (limited to 'unit-tests.py')
-rw-r--r--unit-tests.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/unit-tests.py b/unit-tests.py
index 338af64..a304205 100644
--- a/unit-tests.py
+++ b/unit-tests.py
@@ -657,7 +657,7 @@ class TestPKeyAttribute(TestCaseLoggedIn):
try:
with hsm.pkey_open(uuid) as pkey:
pkey.delete()
- except:
+ except Exception as e:
logger.debug("Problem deleting key %s: %s", uuid, e)
def load_and_fill(self, flags, n_keys = 1, n_attrs = 2, n_fill = 0):