bugfix for py3 on raise
Merge pull request #36 from eryckson/master

bugfix for py3 on raise