aboutsummaryrefslogtreecommitdiff
path: root/rpkid/irdbd.py
diff options
context:
space:
mode:
authorRob Austein <sra@hactrn.net>2009-07-17 00:50:43 +0000
committerRob Austein <sra@hactrn.net>2009-07-17 00:50:43 +0000
commitadfa709a9bf9c4fe5dee0ad865ac1b2aedf6f89e (patch)
treedc2bcaca48783e9d120f7847ca315e4e344d59c9 /rpkid/irdbd.py
parentf4d513432f0c4b6f6c3ccf2eb474fb1954e3d79f (diff)
Doh, helps to read all the ROA requests from SQL, not just the first one
svn path=/rpkid/irdbd.py; revision=2631
Diffstat (limited to 'rpkid/irdbd.py')
-rwxr-xr-xrpkid/irdbd.py2
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