Victor Subervi wrote:
> [...]
> If in fact the problem has to do with the None value, how can I easily
> substitute a different value? I tried:
> 
> if theVal == None:
>   theVal = ''
> 
> but that didn't capture it.

That indicates one of two things:
* Your problem is not caused by the None value.
* Your problem is caused by code that is executed before the above
substitution.

Unfortunately, nobody is going to be able to offer any concrete advice,
since you're not posting the actual code you're running. My guess is
that something in your code for handling a datetime field is raising an
exception that is caught and silenced with an "except: pass" somewhere
outside your loop.

The only way we can help you is if you help us help you by posting your
actual code instead of incoherent snippets. You have been asked many
times before to post your actual code. One has to wonder what causes
your persistent inability or unwillingness to honor this request.

--
Carsten Haese
http://informixdb.sourceforge.net

-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to