pep8'd sugar3.test

This commit is contained in:
William Orr 2013-05-17 22:32:07 -04:00 committed by Daniel Narvaez
parent 69a7aa8f68
commit 1252d95671

View File

@ -24,9 +24,11 @@ from gi.repository import Atspi
Atspi.set_timeout(-1, -1)
def get_root():
return Node(Atspi.get_desktop(0))
def _retry_find(func):
def wrapped(*args, **kwargs):
result = None
@ -53,6 +55,7 @@ def _retry_find(func):
return wrapped
class Node:
def __init__(self, accessible):
self._accessible = accessible