aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRob Austein <sra@hactrn.net>2010-05-20 03:31:15 +0000
committerRob Austein <sra@hactrn.net>2010-05-20 03:31:15 +0000
commitbd0086bf03de4e604bb2afac0156e3c4ce75c93a (patch)
tree04731720e52a6db3c905fcb95fc13737ce02b4f9
parentf1b0e126b72bc91ba60c38b50c379ec32dcd0089 (diff)
Obsolete calling sequence to child_cert.revoke(), oops.
svn path=/rpkid/rpki/left_right.py; revision=3257
-rw-r--r--rpkid/rpki/left_right.py7
1 files changed, 4 insertions, 3 deletions
diff --git a/rpkid/rpki/left_right.py b/rpkid/rpki/left_right.py
index 6914e7ff..99eda03b 100644
--- a/rpkid/rpki/left_right.py
+++ b/rpkid/rpki/left_right.py
@@ -869,9 +869,10 @@ class child_elt(data_elt):
"""
Extra server actions when destroying a child_elt.
"""
- def loop(iterator, child_cert):
- child_cert.revoke(callback = iterator, errback = eb)
- rpki.async.iterator(self.child_certs(), loop, cb)
+ publisher = rpki.rpki_engine.publication_queue()
+ for child_cert in self.child_certs():
+ child_cert.revoke(publisher = publisher)
+ publisher.call_pubd(cb, eb)
def endElement(self, stack, name, text):
"""