On Jun 8, 2007, at 2:17 PM, Andreas Jung wrote:

>
>
> --On 8. Juni 2007 14:05:39 -0400 Rick Morrison  
> <[EMAIL PROTECTED]> wrote:
>
>> try:
>>     t.commit()
>> except:
>>     print 'Holy cow, this database is lame'
>>
>>
>
> This code is also lame :-) The code should work
> for arbitrary DSNs and swallowing an exception while
> committing is evil, evil, evil.

with a pre-5 version of mysql, it is the lesser evil




--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"sqlalchemy" group.
To post to this group, send email to sqlalchemy@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/sqlalchemy?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to