It looks like raise is incorrectly indented. Fixed.