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
--
Humberto Diógenes
http://humberto.digi.com.br
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
sqlobject-discuss mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sqlobject-discuss