fixed syntax of an exception for python 3 compatibility
Merge pull request #7 from bzuillsmith/nonrel-1.5-beta

Fixed exception syntax for python 3 compatibility