]> git.sesse.net Git - xml-template/blobdiff - python/attribute.py
Add Python 3 support.
[xml-template] / python / attribute.py
index 19d60769a24776c137b55fe4111af36f494edc2a..450e09704ddc01b3b6520f850470e3bd0bfcb0b8 100644 (file)
@@ -10,4 +10,4 @@ doc = xmltemplate.process_file("../xml/clone.xml", {
                { "li": "Warm, woolen mittens",  "li/class": "even" }
        ]
 })
-print doc.toxml()
+print(doc.toxml())