]> git.sesse.net Git - xml-template/blobdiff - python/namespace2.py
Add Python 3 support.
[xml-template] / python / namespace2.py
index 5df48c5bc94f3e26d6e815bc593ab111ab3da6d3..3c0d0c3052c777b80f7623b9fa4de9964bc703a8 100644 (file)
@@ -5,4 +5,4 @@ doc = xmltemplate.process_file("../xml/namespace2.xml", {
        'title': 'Namespace tests',
        '#hello': 'Replaced.'
 })
-print doc.toxml()
+print(doc.toxml())