Python3 style exception compatibility
Merge pull request #23 from JASchilz/master

Python3 style exception compatibility