[SQL-CVS] r4176 - in SQLObject/branches/0.12: docs sqlobject/sqlite
SQLObject is a Python ORM.
Brought to you by:
ianbicking,
phd
From: <sub...@co...> - 2010-04-20 16:40:24
|
Author: phd Date: 2010-04-20 10:40:17 -0600 (Tue, 20 Apr 2010) New Revision: 4176 Modified: SQLObject/branches/0.12/docs/News.txt SQLObject/branches/0.12/sqlobject/sqlite/sqliteconnection.py Log: Merged revision 4175 from branch 0.11: a bugfix ported from SQLObject 0.11.6. Modified: SQLObject/branches/0.12/docs/News.txt =================================================================== --- SQLObject/branches/0.12/docs/News.txt 2010-04-20 16:38:13 UTC (rev 4175) +++ SQLObject/branches/0.12/docs/News.txt 2010-04-20 16:40:17 UTC (rev 4176) @@ -7,6 +7,11 @@ .. _start: +SQLObject 0.12.4 +================ + +* A bugfix ported from `SQLObject 0.11.6`_. + SQLObject 0.12.3 ================ @@ -80,6 +85,12 @@ * Removed the last remained string exceptions. +SQLObject 0.11.6 +================ + +* A bug was fixed in SQLiteConnection.columnsFromSchema(): pass None as + size/precision, this is better than no value at all. + SQLObject 0.11.5 ================ Modified: SQLObject/branches/0.12/sqlobject/sqlite/sqliteconnection.py =================================================================== --- SQLObject/branches/0.12/sqlobject/sqlite/sqliteconnection.py 2010-04-20 16:38:13 UTC (rev 4175) +++ SQLObject/branches/0.12/sqlobject/sqlite/sqliteconnection.py 2010-04-20 16:40:17 UTC (rev 4176) @@ -365,7 +365,7 @@ elif t.find('REAL') >= 0 or t.find('FLOAT') >= 0: return col.FloatCol, {} elif t.find('DECIMAL') >= 0: - return col.DecimalCol, {} + return col.DecimalCol, {'size': None, 'precision': None} elif t.find('BOOL') >= 0: return col.BoolCol, {} else: |