* registry.py: Fixed bug #435282, Wrong instance variable name
[platform/core/uifw/at-spi2-atk.git] / pyatspi / accessible.py
index a2a047b..d1fc358 100644 (file)
@@ -380,7 +380,7 @@ class _AccessibleMixin(object):
     for i in xrange(self.childCount):
       try:
         yield self.getChildAtIndex(i)
-      except constants.CORBAException:
+      except LookupError:
         yield None
     
   def __str__(self):