Mercurial > MadButterfly
changeset 1290:99de83340782
Merge
author | wycc |
---|---|
date | Sat, 15 Jan 2011 21:19:50 +0800 |
parents | e816b0c2deec (current diff) 922d1caf6632 (diff) |
children | 082fff7e9604 |
files | pyink/domview.py |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/pyink/domview.py Sat Jan 15 21:09:03 2011 +0800 +++ b/pyink/domview.py Sat Jan 15 21:19:50 2011 +0800 @@ -732,7 +732,7 @@ def copy_group_children(self, src_group, dst_group): # Search for the duplicated group doc = self._doc - + dup_group = src_group.duplicate(doc) old_nodes = _DOM_iterator(src_group) @@ -757,7 +757,7 @@ new_gids.add(gid) new_node.setAttribute('id', gid) pass - + for child in dup_group.childList(): dup_group.removeChild(child) # prvent from crash dst_group.appendChild(child)