[gi-overrides] fix exception block so it works in Python 2.5
[gi-overrides] fix exception block so it works in Python 2.5

Distrotech/pygobject,Distrotech/pygobject,Distrotech/pygobject,Distrotech/pygobject