Exception variable in 2.7 syntax