aboutsummaryrefslogtreecommitdiff
path: root/scripts/xml-parse-test.py
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/xml-parse-test.py')
-rwxr-xr-xscripts/xml-parse-test.py5
1 files changed, 1 insertions, 4 deletions
diff --git a/scripts/xml-parse-test.py b/scripts/xml-parse-test.py
index 92aae080..7c1ff3c3 100755
--- a/scripts/xml-parse-test.py
+++ b/scripts/xml-parse-test.py
@@ -1,4 +1,3 @@
-#!/usr/local/bin/python
# $Id$
import glob, rpki.up_down, rpki.relaxng, xml.sax
@@ -11,8 +10,6 @@ for f in files:
x = fh.read()
fh.close()
xml.sax.parseString(x, handler)
- obj = handler.obj
- print "<!-- " + str(obj) + " -->\n"
- x = obj.msgToXML()
+ x = str(handler.obj)
print x
rpki.relaxng.relaxng(x, "up-down-medium-schema.rng")