Make raise call Python 3 friendly