not python 3 syntax  use `as err`   we don't need py 2.5 anymore.

BTW: What's the point in catching the exception and then raising it right away again?
`try ... finally ...` ?