syntax error around raise if python > 2.6