Exemplo n.º 1
0
 def stepDone(self):
     """
 Done with this sequence step. Deregister event listeners.
 """
     if not self.done:
         pyatspi.Registry.deregisterEventListener(self.onEvent, *self.wait_for)
     return SequenceStep.stepDone(self)
Exemplo n.º 2
0
 def stepDone(self):
     '''
 Done with this sequence step. Deregister event listeners.
 '''
     if not self.done:
         pyatspi.Registry.deregisterEventListener(self.onEvent,
                                                  *self.wait_for)
     return SequenceStep.stepDone(self)