Hello! Applied to the trunk in the revision 1951. Thank you! (It needed a
minor tweaking in col.py but I fixed it.)
On Sat, Sep 09, 2006 at 06:59:19PM +0400, Oleg Broytmann wrote:
> On Sat, Sep 09, 2006 at 11:42:26AM -0300, Humberto Diogenes wrote:
> > On Sat, 9 Sep 2006 18:30:26 +0400
> > Oleg Broytmann <[EMAIL PROTECTED]> wrote:
> >
> > > Sorry, but the patch is incorrect. You just removed support for
> > > installations where there is no sqlite3 module. SQLObject still supports
> > > Python 2.2, 2.3 and 2.4.
> > > The correct way is to sniff if there is sqlite3 module - and if there
> > > is
> > > no fall back to pysqlite2 and sqlite as usual.
> >
> > Strange... Isn't just this that it does later on? Did you receive an
> > incomplete patch?
> >
> > except ImportError:
> > + try:
> > + from pysqlite2 import dbapi2 as sqlite
> > + using_sqlite2 = True
> > + except ImportError:
> > + import sqlite
> > + using_sqlite2 = False
>
> Aha, got it again from the list archive. Sorry...
Oleg.
--
Oleg Broytmann http://phd.pp.ru/ [EMAIL PROTECTED]
Programmers don't die, they just GOSUB without RETURN.
-------------------------------------------------------------------------
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/sqlobject-discuss