diff pyink/domview.py @ 1295:71118bff7d61

CHange the wrong append to appendCHild
author wycc
date Sun, 16 Jan 2011 09:45:09 +0800
parents 082fff7e9604
children 2a5da457474d
line wrap: on
line diff
--- a/pyink/domview.py	Sat Jan 15 23:07:29 2011 +0800
+++ b/pyink/domview.py	Sun Jan 16 09:45:09 2011 +0800
@@ -774,7 +774,7 @@
             dst_child.setAttribute('id', dst_child_id)
             dst_child.setAttribute('xlink:href', '#' + src_child_id)
             dst_child.setAttribute('ns0:duplicate-src', src_child_id)
-            dst_group.append(child)
+            dst_group.appendChild(dst_child)
             pass
         pass
     pass