Fix exception syntax to work in Sublime Text 3

http://www.python.org/dev/peps/pep-3110/