diff options
author | Rob Austein <sra@hactrn.net> | 2009-09-11 18:04:51 +0000 |
---|---|---|
committer | Rob Austein <sra@hactrn.net> | 2009-09-11 18:04:51 +0000 |
commit | c7c46cd247ce4af34ad0de7a6586a2c858d800b9 (patch) | |
tree | 29e435c6f017487632ecc20e5aa803912520545f /rpkid/irdbd.py | |
parent | e97c9b25332fc4a8a441f2970b4acb8122875250 (diff) |
Cleanup
svn path=/rpkid/irdbd.py; revision=2749
Diffstat (limited to 'rpkid/irdbd.py')
-rwxr-xr-x | rpkid/irdbd.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/rpkid/irdbd.py b/rpkid/irdbd.py index 9113f44f..459758df 100755 --- a/rpkid/irdbd.py +++ b/rpkid/irdbd.py @@ -118,13 +118,13 @@ def handler(query, path, cb): q_msg = rpki.left_right.cms_msg.unwrap(query, (bpki_ta, rpkid_cert)) if not isinstance(q_msg, rpki.left_right.msg) or not q_msg.is_query(): - raise rpki.exceptions.BadQuery, "Unexpected %s PDU" % repr(q_msg) + raise rpki.exceptions.BadQuery, "Unexpected %r PDU" % q_msg for q_pdu in q_msg: try: if type(q_pdu) not in handle_dispatch: - raise rpki.exceptions.BadQuery, "Unexpected %s PDU" % repr(q_pdu) + raise rpki.exceptions.BadQuery, "Unexpected %r PDU" % q_pdu handle_dispatch[type(q_pdu)](q_pdu, r_msg) except (rpki.async.ExitNow, SystemExit): |