diff options
author | Rob Austein <sra@hactrn.net> | 2009-08-31 22:24:48 +0000 |
---|---|---|
committer | Rob Austein <sra@hactrn.net> | 2009-08-31 22:24:48 +0000 |
commit | 1b65eb039f50792d7479cbfbd196f29ff89c7c4d (patch) | |
tree | c17808904c99f3783e4feefc39448584d2c596da /myrpki/myirbe.py | |
parent | f6be347c09042f59b8042083f5009cb98496fbb7 (diff) |
Changes to support structured pubd client names.
svn path=/myrpki/myirbe.py; revision=2722
Diffstat (limited to 'myrpki/myirbe.py')
-rw-r--r-- | myrpki/myirbe.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/myrpki/myirbe.py b/myrpki/myirbe.py index a1ac1e5d..683e9c1b 100644 --- a/myrpki/myirbe.py +++ b/myrpki/myirbe.py @@ -288,9 +288,9 @@ for xmlfile in xmlfiles: # See what rpkid and pubd already have on file for this entity. if want_pubd: - pubd_reply = call_pubd((rpki.publication.client_elt.make_pdu(action = "list"),)) - - client_pdus = dict((x.client_handle, x) for x in pubd_reply if isinstance(x, rpki.publication.client_elt)) + client_pdus = dict((x.client_handle, x) + for x in call_pubd((rpki.publication.client_elt.make_pdu(action = "list"),)) + if isinstance(x, rpki.publication.client_elt)) rpkid_reply = call_rpkid(( rpki.left_right.self_elt.make_pdu( action = "get", tag = "self", self_handle = handle), @@ -367,7 +367,7 @@ for xmlfile in xmlfiles: if repository_cert: repository_pdu = repository_pdus.pop(repository_handle, None) - repository_uri = pubd_base + "client/" + handle + repository_uri = pubd_base + "client/" + tree.get("repository_handle") if (repository_pdu is None or repository_pdu.bsc_handle != bsc_handle or |