On Friday 29 December 2006 17:20, Oleg Broytmann wrote: > On Fri, Dec 29, 2006 at 09:45:35AM +0200, Dan Pascu wrote: > > Attached is a patch that fixes this in a better way. It still allows > > reconnects if the database connection was lost because of a server > > restart or the connection being closed because it was idle too long, > > but will allow the application to make decisions on its own if the > > database is down for good and cannot be reconnected. > > > > Index: mysqlconnection.py > > I applied it verbatim, revisions 2166-2168. Thank you!
What changed your mind about moving the exception raising to the else clause? -- Dan ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ sqlobject-discuss mailing list sqlobject-discuss@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sqlobject-discuss