[pyatspi2] Fix name error in create_application method of the CachedDesktop.



commit 93d41a76bb9bf8ea08b0b482d5d0a5cf4a7c827e
Author: Mark Doffman <mark doffman codethink co uk>
Date:   Fri Dec 18 06:19:01 2009 -0800

    Fix name error in create_application method of the CachedDesktop.

 pyatspi/desktop.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/pyatspi/desktop.py b/pyatspi/desktop.py
index ffde93a..c901955 100644
--- a/pyatspi/desktop.py
+++ b/pyatspi/desktop.py
@@ -488,7 +488,7 @@ class CachedDesktop (BaseDesktop):
 
         def create_application (self, app_name):
                 if app_name == interfaces.ATSPI_REGISTRY_NAME:
-                        path = interfaces.ATSPI_DESKTOP_PATH
+                        acc_path = interfaces.ATSPI_DESKTOP_PATH
                 else:
                         acc_path = self.cache.get_app_root(app_name)
 



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