On Tue, May 20, 2008 at 03:37:01PM +0200, Simon Cross wrote: > Lines 1014-1015 in trunk/sqlobject/col.py read: > > def _mysqlType(self): > return "SET(%s)" % ', '.join([sqlbuilder.sqlrepr(v, 'mysql') > for v in self.enumValues]) > > It looks like self.enumValues should be self.setValues. SOSetCol > doesn't have a .enumValues attribute.
You are absolutely right! The bug, of course, was caused by copying SetCol classes from EnumCol. Fixed in the revisions 3444-3446 (branches 0.9 and 0.10, and the trunk). Will be in the next round of releases (in about a week or two.) Oleg. -- Oleg Broytmann http://phd.pp.ru/ [EMAIL PROTECTED] Programmers don't die, they just GOSUB without RETURN. ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ sqlobject-discuss mailing list sqlobject-discuss@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sqlobject-discuss