]> git.sesse.net Git - xml-template/blobdiff - python/clone.py
Fix a potential bug in the C++0x cleaning.
[xml-template] / python / clone.py
index 65e9519b05e4fb611a15e91a73fbe3c6ea897c9c..134cdb596df48ac614a1ee2c49ade111e042fb59 100644 (file)
@@ -3,11 +3,11 @@ import xmltemplate
 
 doc = xmltemplate.process_file("../xml/clone.xml", {
        'color': 'blue',
-       '#things': (
+       '#things': [
                { 'li': 'Raindrops on roses' },
                { 'li': 'Whiskers on kittens' },
                { 'li': 'Bright copper kettles' },
                { 'li': 'Warm, woolen mittens' }
-       )
+       ]
 })
 print doc.toxml()