#1 sqlitedriver.py: wrong sqlite attribute

open
nobody
None
5
2007-08-23
2007-08-23
humba
No

Hi,

If i do
>>> import pytable.pysqlite.sqlitedriver
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/usr/lib/python2.5/site-packages/pytable-0.8.18a-py2.5.egg/pytable/pysqlite/sqlitedriver.py", line 8, in <module>
class SQLiteDriver( dbdriver.DBDriver ):
File "/usr/lib/python2.5/site-packages/pytable-0.8.18a-py2.5.egg/pytable/pysqlite/sqlitedriver.py", line 72, in SQLiteDriver
(sqlite.DATETIME, "datetime"),
AttributeError: 'module' object has no attribute 'DATETIME'

sqlite has only an object DATE not datetime. whether this is good enough here, i don't know.

i'm runnig this on
Python 2.5.1 (r251:54863, May 2 2007, 16:56:35)
[GCC 4.1.2 (Ubuntu 4.1.2-0ubuntu4)] on linux2

tnx

Discussion

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks