From: parente Date: Tue, 8 May 2007 18:03:12 +0000 (+0000) Subject: * Fixed bug #436930, Syntax error when raising IndexError X-Git-Tag: AT_SPI2_ATK_2_12_0~830 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=7917fb1475b0775275bfc15686d0509fe84c110e;p=platform%2Fcore%2Fuifw%2Fat-spi2-atk.git * Fixed bug #436930, Syntax error when raising IndexError git-svn-id: http://svn.gnome.org/svn/at-spi/trunk@919 e2bd861d-eb25-0410-b326-f6ed22b6b98c --- diff --git a/pyatspi/ChangeLog b/pyatspi/ChangeLog index d80ca8c..8ddbef7 100644 --- a/pyatspi/ChangeLog +++ b/pyatspi/ChangeLog @@ -1,5 +1,11 @@ 2007-05-08 Peter Parente + Patch from Eitan Isaacson + * accessible.py: + Fixed bug #436930, Syntax error when raising IndexError + +2007-05-08 Peter Parente + Patch from Eitan Isaacson * event.py: Fixed bug #435947, Fix reference count error diff --git a/pyatspi/accessible.py b/pyatspi/accessible.py index aef89e1..b5ab01d 100644 --- a/pyatspi/accessible.py +++ b/pyatspi/accessible.py @@ -419,7 +419,7 @@ class _AccessibleMixin(object): if index >= n: raise IndexError elif index < -n: - raise IndexError: + raise IndexError elif index < 0: index += n return self.getChildAtIndex(index)