[pyatspi2] Fix traceback with --enable-relocate introduced in last commit



commit 5bde422ffef0cb815dd9b4ac2d6b8a31abc950c6
Author: Mike Gorse <mgorse novell com>
Date:   Fri Jan 28 13:39:40 2011 -0600

    Fix traceback with --enable-relocate introduced in last commit

 pyatspi/__init__.py |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/pyatspi/__init__.py b/pyatspi/__init__.py
index 879018b..86a68b8 100644
--- a/pyatspi/__init__.py
+++ b/pyatspi/__init__.py
@@ -23,6 +23,8 @@ if not sys.modules.has_key('pyatspi_dbus'):
         useCorba = (o == "true\n")
     except:
         useCorba = False
+else:
+    useCorba = False
 
 if useCorba:
     import pyatspi_corba



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