This commit no longer exists in the repository. It may have been part of a branch which was deleted.
Description
Refactor: python: Libraries shouldn't call exit.
Raise an exception instead. This isn't being caught anywhere so it has
the same effect as an exit, except that we could catch it in the future
if we wanted to.