On Wed, Apr 05, 2006 at 01:28:25AM +0200, sophana wrote:
> 139         def guessClass(self, t):
> 140  ->         if t.startswith('int'):
> 141                 return col.IntCol, {}

   Is 't' an array here? Would it help if you insert the following code?

     def guessClass(self, t):
+        if isinstance(t, array):
+            t = t.tostring()
         if t.startswith('int'):
             return col.IntCol, {}

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 xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
sqlobject-discuss mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sqlobject-discuss

Reply via email to