Fix pep8 warning about using the deprecated form of 'raise'.
Merge pull request #52 from bje-/exception-fix

Fix pep8 warning about using the deprecated form of 'raise'.