aboutsummaryrefslogtreecommitdiff
path: root/scripts/xml-parse-test.py
diff options
context:
space:
mode:
authorRob Austein <sra@hactrn.net>2007-07-04 00:00:20 +0000
committerRob Austein <sra@hactrn.net>2007-07-04 00:00:20 +0000
commit3d20d1517f113917a71f7a404a919e7bde7c6611 (patch)
tree2eaaac78ace7a809ed9dd69312bccc09441d8d66 /scripts/xml-parse-test.py
parent03d0e7da032b4ca6081512faabac9ae2508becb8 (diff)
Cleanup
svn path=/scripts/rpki/up_down.py; revision=718
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")