[SQL-CVS] SQLObject/SQLObject Col.py,1.5,1.6
SQLObject is a Python ORM.
Brought to you by:
ianbicking,
phd
|
From: <ian...@us...> - 2003-04-08 02:51:53
|
Update of /cvsroot/sqlobject/SQLObject/SQLObject
In directory sc8-pr-cvs1:/tmp/cvs-serv7411/SQLObject
Modified Files:
Col.py
Log Message:
Fixed SQLite's type generation
Index: Col.py
===================================================================
RCS file: /cvsroot/sqlobject/SQLObject/SQLObject/Col.py,v
retrieving revision 1.5
retrieving revision 1.6
diff -C2 -d -r1.5 -r1.6
*** Col.py 7 Apr 2003 23:27:02 -0000 1.5
--- Col.py 8 Apr 2003 02:51:49 -0000 1.6
***************
*** 123,128 ****
def _sqliteType(self):
! # SQLite is naturally typeless
! return ''
def mysqlCreateSQL(self):
--- 123,132 ----
def _sqliteType(self):
! # SQLite is naturally typeless, so as a fallback it uses
! # no type.
! try:
! return self._sqlType()
! except ValueError:
! return ''
def mysqlCreateSQL(self):
|