Index: pyatspi/accessible.py =================================================================== --- pyatspi/accessible.py (revision 918) +++ pyatspi/accessible.py (working copy) @@ -419,7 +419,7 @@ if index >= n: raise IndexError elif index < -n: - raise IndexError: + raise IndexError elif index < 0: index += n return self.getChildAtIndex(index)