diff options
author | Rob Austein <sra@hactrn.net> | 2015-11-12 00:36:51 +0000 |
---|---|---|
committer | Rob Austein <sra@hactrn.net> | 2015-11-12 00:36:51 +0000 |
commit | dd55d982548d76837e4a68331b2da3d973606f59 (patch) | |
tree | 9131bbf6ec610027ec5c054f28f523db477c19aa /rpki/rpkid.py | |
parent | 09b20bf0236e78bf7dd0e61d674b3c56454c82b3 (diff) |
More useful log messages on PDU handling exceptions.
Tweak publication callback mechanism to use uri instead of tag.
svn path=/branches/tk705/; revision=6169
Diffstat (limited to 'rpki/rpkid.py')
-rw-r--r-- | rpki/rpkid.py | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/rpki/rpkid.py b/rpki/rpkid.py index 96f3426f..ceac39f4 100644 --- a/rpki/rpkid.py +++ b/rpki/rpkid.py @@ -719,9 +719,7 @@ class publication_queue(object): pdu.set("hash", pdu_hash) if handler is not None: - tag = str(id(pdu)) - self.handlers[tag] = handler - pdu.set("tag", tag) + self.handlers[uri] = handler if self.replace: self.uris[uri] = pdu |