pep8
use six to reraise exceptions in a compatible way