Re: [SQLObject] patch for sqlite timeout specification
SQLObject is a Python ORM.
Brought to you by:
ianbicking,
phd
From: Dan P. <da...@ag...> - 2006-06-15 11:11:28
|
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')) > > + else: > > + opts['timeout'] = int(float(popKey(kw, 'timeout')) * > > 1000) > > Applied in the rev. 1807 to the trunk, 1808 to the 0.7 branch. Thank > you! Thanks for considering it. What about the other 2 patches I sent? The one to break some cyclic references and the other to avoid the call to transaction.rollback() from the transaction __del__() method if a transaction was not successfully instantiated (__init__ failed). -- Dan |