pep8'd sugar3.test
This commit is contained in:
parent
69a7aa8f68
commit
1252d95671
@ -24,9 +24,11 @@ from gi.repository import Atspi
|
|||||||
|
|
||||||
Atspi.set_timeout(-1, -1)
|
Atspi.set_timeout(-1, -1)
|
||||||
|
|
||||||
|
|
||||||
def get_root():
|
def get_root():
|
||||||
return Node(Atspi.get_desktop(0))
|
return Node(Atspi.get_desktop(0))
|
||||||
|
|
||||||
|
|
||||||
def _retry_find(func):
|
def _retry_find(func):
|
||||||
def wrapped(*args, **kwargs):
|
def wrapped(*args, **kwargs):
|
||||||
result = None
|
result = None
|
||||||
@ -53,6 +55,7 @@ def _retry_find(func):
|
|||||||
|
|
||||||
return wrapped
|
return wrapped
|
||||||
|
|
||||||
|
|
||||||
class Node:
|
class Node:
|
||||||
def __init__(self, accessible):
|
def __init__(self, accessible):
|
||||||
self._accessible = accessible
|
self._accessible = accessible
|
||||||
|
Loading…
Reference in New Issue
Block a user