]> git.sesse.net Git - xml-template/commitdiff
Make the Python version pass the passthru test...
authorsgunderson@bigfoot.com <>
Wed, 6 Sep 2006 14:45:48 +0000 (16:45 +0200)
committersgunderson@bigfoot.com <>
Wed, 6 Sep 2006 14:45:48 +0000 (16:45 +0200)
python/xmltemplate.py

index e22d0f8bfae975df540f13ce34802e01a4e64c51..d10fc117898da46b86bdd788e71fd410692c3534 100644 (file)
@@ -2,7 +2,7 @@
 import xml.dom.minidom
 
 def process_file(filename, obj, clean = False):
-       doc = xml.dom.minidom.parse("../xml/simple.xml")
+       doc = xml.dom.minidom.parse(filename)
        process(doc, obj, clean)
        return doc