If I import SQLObject via
from sqlobject import *
the exception SQLObjectIntegrityError is not available in the global scope after doing that import. The exception is not listed in the __all__ list for the main.py module.
I feel it should be in global scope since the sresults.py raises that exception in the getOne method if the select results contain more than one result.