Re: [SQLObject] patch for sqlite timeout specification

2006-06-15 Thread Dan Pascu
On Wednesday 14 June 2006 17:47, Oleg Broytmann wrote: > On Wed, May 31, 2006 at 03:18:38PM +0300, Dan Pascu wrote: > > -opts['timeout'] = float(popKey(kw, 'timeout')) > > +if using_sqlite2: > > +opts['timeout'] = float(popKey(kw, 'timeout')) > > +

Re: [SQLObject] patch for sqlite timeout specification

2006-06-14 Thread Oleg Broytmann
On Wed, May 31, 2006 at 03:18:38PM +0300, Dan Pascu wrote: > -opts['timeout'] = float(popKey(kw, 'timeout')) > +if using_sqlite2: > +opts['timeout'] = float(popKey(kw, 'timeout')) > +else: > +opts['timeout'] = int(float(popKey(kw,

Re: [SQLObject] patch for sqlite timeout specification

2006-05-31 Thread Oleg Broytmann
On Wed, May 31, 2006 at 03:18:38PM +0300, Dan Pascu wrote: > The attached patch fixes the issue and also unifies how the timeout is > specified for sqlite connections. The timeout parameters in sqlobject > will always be in seconds and internally will be sent as the integer > number of milliseco