Now that we require a newer python, use the new exception syntax.