aboutsummaryrefslogtreecommitdiff
path: root/scripts/rpkid.py
diff options
context:
space:
mode:
authorRob Austein <sra@hactrn.net>2007-09-21 15:22:47 +0000
committerRob Austein <sra@hactrn.net>2007-09-21 15:22:47 +0000
commitd35d9b2b5a9ab6e1861abc30768a2d8eaea7b310 (patch)
tree7f9813d3c6049ab93c2c661b7144068e94c4bc70 /scripts/rpkid.py
parent0077617b0281e82928f0460d53cfcd200f4930c9 (diff)
Simplify SAX calling sequence.
svn path=/scripts/rpki/sax_utils.py; revision=1004
Diffstat (limited to 'scripts/rpkid.py')
-rwxr-xr-xscripts/rpkid.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/scripts/rpkid.py b/scripts/rpkid.py
index 22b6bf6c..6224578d 100755
--- a/scripts/rpkid.py
+++ b/scripts/rpkid.py
@@ -18,9 +18,7 @@ def left_right_handler(query, path):
try:
q_elt = decode(query, cms_ta_irbe)
rpki.relaxng.left_right.assertValid(q_elt)
- saxer = rpki.left_right.sax_handler()
- lxml.sax.saxify(q_elt, saxer)
- q_msg = saxer.result
+ q_msg = rpki.left_right.sax_handler.saxify(q_elt)
r_msg = rpki.left_right.msg()
for q_pdu in q_msg:
q_pdu.serve_dispatch(db, cur, r_msg)