Mercurial > MadButterfly
comparison pyink/MBScene.py @ 1213:86428aa657ab
Remove unused variables
author | Thinker K.F. Li <thinker@codemud.net> |
---|---|
date | Tue, 04 Jan 2011 13:06:56 +0800 |
parents | 962a6fec2198 |
children | e55499f7505a |
comparison
equal
deleted
inserted
replaced
1212:962a6fec2198 | 1213:86428aa657ab |
---|---|
73 | 73 |
74 def addEventListener(obj, type, func,arg): | 74 def addEventListener(obj, type, func,arg): |
75 obs = ObjectWatcher(obj,type,func,arg) | 75 obs = ObjectWatcher(obj,type,func,arg) |
76 obj.addSubtreeObserver(obs) | 76 obj.addSubtreeObserver(obs) |
77 | 77 |
78 | |
79 _scenes = '{http://madbutterfly.sourceforge.net/DTD/madbutterfly.dtd}scenes' | |
80 _scene = '{http://madbutterfly.sourceforge.net/DTD/madbutterfly.dtd}scene' | |
81 | 78 |
82 def _travel_DOM(node): | 79 def _travel_DOM(node): |
83 nodes = [node] | 80 nodes = [node] |
84 while nodes: | 81 while nodes: |
85 node = nodes.pop(0) | 82 node = nodes.pop(0) |