Hi;
I have this code:

        sql = 'describe %s %s;' % (optionsStore, option)
        print sql
        cursor.execute(sql)
        descr = cursor.fetchone()
        if len(descr) is not None:

Python complains:

*TypeError*: len() of unsized object

Please advise how to rewrite the last line so as to avoid the infamous
try/except.
TIA,
beno

-- 
The Logos has come to bear
http://logos.13gems.com/
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to