Fix python 3 raise syntax