2009-06-08 Mark Doffman <mark.doffman@codethink.co.uk>
[platform/core/uifw/at-spi2-atk.git] / pyatspi / __init__.py
index f8e4ed8..3ad8476 100644 (file)
 #along with this program; if not, write to the Free Software
 #Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
 
-#import registry
-
-#Registry = registry.Registry(reg)
-#registry.Registry = Registry
-#del registry
-
-from constants import *
-
-from accessible import *
-from application import *
-from component import *
-from stateset import *
-from relation import *
-
-from test import *
-
-#from utils import *
+__version__ = (1, 9, 0)
+
+import registry
+Registry = registry._Registry()
+registry._Registry = Registry
+del registry
+
+import constants
+from Accessibility import *
+
+#This is a re-creation of the namespace pollution implemented
+#by PyORBit.
+import sys
+import Accessibility
+sys.modules['Accessibility'] = Accessibility
+del sys