[pyatspi2] Add fix for name error that was causing unit tests to fail.



commit 94ba0c7da38489319e6a1c4d14033ea458c48c75
Author: Mark Doffman <mark doffman codethink co uk>
Date:   Thu Feb 11 20:22:47 2010 -0800

    Add fix for name error that was causing unit tests to fail.

 pyatspi/registry.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/pyatspi/registry.py b/pyatspi/registry.py
index 042395f..444c1b4 100644
--- a/pyatspi/registry.py
+++ b/pyatspi/registry.py
@@ -130,7 +130,7 @@ class Registry(object):
 
                 if app_name:
                         self.device_event_register = _NullDeviceEventRegister()
-                        seld.app_event_register    = _NullApplicationEventRegister()
+                        self.app_event_register    = _NullApplicationEventRegister()
 
 			name = _bus_object.GetNameOwner (app_name)
                         self.desktop = factory (name, _ATSPI_ROOT_PATH, _ATSPI_DESKTOP)



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