Updating exception syntax for Python 3
Merge pull request #2 from nikestep/master

Updating exception syntax for Python 3