[pyatspi2] Change name of exception to new merged AccessibleObjectNoLongerAvailable



commit f20189dbed345f68348cecf6fd251fd98b34f944
Author: Mark Doffman <mark doffman codethink co uk>
Date:   Fri Dec 18 04:49:18 2009 -0800

    Change name of exception to new merged AccessibleObjectNoLongerAvailable
    exception.

 pyatspi/appevent.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/pyatspi/appevent.py b/pyatspi/appevent.py
index de40efe..47df10f 100644
--- a/pyatspi/appevent.py
+++ b/pyatspi/appevent.py
@@ -267,7 +267,7 @@ class Event(object):
                 if not self._application:
                         try:
                                 return self._acc_factory.create_application(self._source_application)
-                        except AccessibleObjectNotAvailable:
+                        except AccessibleObjectNoLongerExists:
                                 pass
                 return self._application
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]