25 Sep
2003
25 Sep
'03
10:51 a.m.
def traverseTree(self): ''' Traverse the tree and do something. '''
was_ghost = self._p_changed is None
for ob in self.objectValues(): traverseTree(ob)
# XXX Do something with self here : self.doSomething()
if was_ghost:self._p_deactivate()
Hmmm, does _p_deactivate() clear the contents of the object's _v_ variables? cheers, Chris