]> git.sesse.net Git - xml-template/blobdiff - python/namespace.py
Add Python 3 support.
[xml-template] / python / namespace.py
index 22165785bec082caf6e11fecff7d9a27463f9513..2e19d7f7c748d4782a0ae9c06bce23f6c2cf5d77 100644 (file)
@@ -8,4 +8,4 @@ doc = xmltemplate.process_file("../xml/namespace.xml", {
        'tagname': 'foo',
        '#moretest': 'bar'
 })
-print doc.toxml()
+print(doc.toxml())