Given this scenario: class A(SQLObject): n = EnumCol(enumValues=['x', 'y'], notNone=False)
class B(SQLObject): n = EnumCol(enumValues=['x', 'y'], notNone=True) A(n=None) and B(n=None) both give this error: Invalid: expected a member of ['x', 'y'] in the EnumCol 'n', got None instead Attached a patch that WorksForMe(tm). -- Claudio
enumfix.patch
Description: Binary data
------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/
_______________________________________________ sqlobject-discuss mailing list sqlobject-discuss@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sqlobject-discuss