diff options
author | Rob Austein <sra@hactrn.net> | 2014-11-08 23:24:53 +0000 |
---|---|---|
committer | Rob Austein <sra@hactrn.net> | 2014-11-08 23:24:53 +0000 |
commit | 158637f6aa4bdd4870cdfce4a0efa659a8b7d260 (patch) | |
tree | 9432440d91f5007227bfdd1b37e31ab3cdc0404c /rpki/left_right.py | |
parent | 8b13b423496eeeecd394f7ce3e29ce578784006b (diff) |
Clean up unused exceptions left over from some refactoring expedition
or another.
svn path=/branches/tk705/; revision=6013
Diffstat (limited to 'rpki/left_right.py')
-rw-r--r-- | rpki/left_right.py | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/rpki/left_right.py b/rpki/left_right.py index 9fc1fc48..a97d864f 100644 --- a/rpki/left_right.py +++ b/rpki/left_right.py @@ -346,6 +346,19 @@ class self_elt(data_elt): Handle a left-right publish_world_now action for this self. """ + # This probably needs find out what's already published and + # compute the difference before attempting to make any changes. + # Just blindly overwriting doesn't work anymore, and probably + # never should have. + + # The current loop doesn't appear to do anything asynchronous, so + # it could become a plain old for loop. Polling all the + # repositories to find out what's published, however, will require + # talking to pubd(s). This polling looks a lot like what we + # already do with publication_queue, might be worth generalizing + # since this probably is not the only place where we need recovery + # logic. Which, hmm, suggests that we might need to refactor. + publisher = rpki.rpkid.publication_queue() def loop(iterator, parent): |