diff options
author | Rob Austein <sra@hactrn.net> | 2009-07-17 00:50:43 +0000 |
---|---|---|
committer | Rob Austein <sra@hactrn.net> | 2009-07-17 00:50:43 +0000 |
commit | adfa709a9bf9c4fe5dee0ad865ac1b2aedf6f89e (patch) | |
tree | dc2bcaca48783e9d120f7847ca315e4e344d59c9 | |
parent | f4d513432f0c4b6f6c3ccf2eb474fb1954e3d79f (diff) |
Doh, helps to read all the ROA requests from SQL, not just the first one
svn path=/rpkid/irdbd.py; revision=2631
-rwxr-xr-x | rpkid/irdbd.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/rpkid/irdbd.py b/rpkid/irdbd.py index de7a0d71..2c3f49e3 100755 --- a/rpkid/irdbd.py +++ b/rpkid/irdbd.py @@ -83,7 +83,7 @@ def handle_list_roa_requests(q_pdu, r_msg): "SELECT roa_request_id, asn FROM roa_request WHERE roa_request_handle = %s", (q_pdu.self_handle,)) - for roa_request_id, asn in cur.fetchmany(): + for roa_request_id, asn in cur.fetchall(): r_pdu = rpki.left_right.list_roa_requests_elt() r_pdu.tag = q_pdu.tag |