diff options
author | Rob Austein <sra@hactrn.net> | 2009-10-26 22:31:16 +0000 |
---|---|---|
committer | Rob Austein <sra@hactrn.net> | 2009-10-26 22:31:16 +0000 |
commit | 1e11a8aa6905c02a4695313d5d6a6bd3ba3732dc (patch) | |
tree | 050348593d46a04e00970cc02f74f8ac87881847 /rpkid/testbed.py | |
parent | 076297fd151dce8bd496e13855e23d47d45850bc (diff) |
Refactor publication code, step 1: clean up
rpki.left_right.repository_elt.call_pubd() and methods in
rpki.xmlutils.msg class that were (mis)designed to fit.
svn path=/myrpki/myirbe.py; revision=2836
Diffstat (limited to 'rpkid/testbed.py')
-rw-r--r-- | rpkid/testbed.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/rpkid/testbed.py b/rpkid/testbed.py index a9e6e3c5..c2dfd4ea 100644 --- a/rpkid/testbed.py +++ b/rpkid/testbed.py @@ -770,7 +770,7 @@ class allocation(object): assert isinstance(pdus, (list, tuple)) assert self.rpki_port is not None - msg = rpki.left_right.msg.query(pdus) + msg = rpki.left_right.msg.query(*pdus) cms, xml = rpki.left_right.cms_msg.wrap(msg, self.irbe_key, self.irbe_cert, pretty_print = True) rpki.log.debug(xml) @@ -1167,7 +1167,7 @@ def call_pubd(pdus, cb): response. """ rpki.log.info("Calling pubd") - msg = rpki.publication.msg.query(pdus) + msg = rpki.publication.msg.query(*pdus) cms, xml = rpki.publication.cms_msg.wrap(msg, pubd_irbe_key, pubd_irbe_cert, pretty_print = True) rpki.log.debug(xml) |