diff options
author | Rob Austein <sra@hactrn.net> | 2007-10-23 07:20:27 +0000 |
---|---|---|
committer | Rob Austein <sra@hactrn.net> | 2007-10-23 07:20:27 +0000 |
commit | 66445ed4ac325b63a6f8b1138d02ffb4d6314b3b (patch) | |
tree | dc3692bb7782c9a47ccd743f4715bde8abfd818d /scripts/rpkid.py | |
parent | 4eda44bbddd2bdf2963ed285746f9a197725f959 (diff) |
Insomnia
svn path=/scripts/Makefile; revision=1188
Diffstat (limited to 'scripts/rpkid.py')
-rwxr-xr-x | scripts/rpkid.py | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/scripts/rpkid.py b/scripts/rpkid.py index 5148167a..6e2cde17 100755 --- a/scripts/rpkid.py +++ b/scripts/rpkid.py @@ -37,10 +37,12 @@ def up_down_handler(query, path): return 200, child.serve_up_down(gctx, query) except Exception, data: traceback.print_exc() - return 500, "Unhandled exception %s" % data + return 400, "Could not process PDU: %s" % data def cronjob_handler(query, path): - raise rpki.exceptions.NotImplementedYet + for s in rpki.left_right.self_elt.sql_fetch_all(gctx): + s.client_poll(gctx) + #raise rpki.exceptions.NotImplementedYet class global_context(object): """A place to stash various global parameters.""" |