Menu

#263 SQLObjectIntegrityError exception with from sqlobject import

closed-fixed
General (125)
5
2012-04-03
2011-01-18
Anonymous
No

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.

Discussion

  • Oleg Broytman

    Oleg Broytman - 2012-04-03

    Fixed in the revision 4522.

     
  • Oleg Broytman

    Oleg Broytman - 2012-04-03
    • assigned_to: nobody --> phd
    • status: open --> closed-fixed
     

Log in to post a comment.