Author: phd
Date: 2008-03-10 05:21:05 -0600 (Mon, 10 Mar 2008)
New Revision: 3310
Modified:
SQLObject/branches/0.10/docs/News.txt
SQLObject/branches/0.10/sqlobject/main.py
Log:
A bug in delColumn() that removes all properties is fixed by recreating properties.
Modified: SQLObject/branches/0.10/docs/News.txt
===================================================================
--- SQLObject/branches/0.10/docs/News.txt 2008-03-10 11:20:37 UTC (rev 3309)
+++ SQLObject/branches/0.10/docs/News.txt 2008-03-10 11:21:05 UTC (rev 3310)
@@ -83,6 +83,9 @@
* Fixed a minor bug in SQLiteConnection.columnsFromSchema() - set dbName.
+* A bug in delColumn() that removes all properties is fixed by recreating
+ properties.
+
SQLObject 0.9.4
===============
Modified: SQLObject/branches/0.10/sqlobject/main.py
===================================================================
--- SQLObject/branches/0.10/sqlobject/main.py 2008-03-10 11:20:37 UTC (rev 3309)
+++ SQLObject/branches/0.10/sqlobject/main.py 2008-03-10 11:21:05 UTC (rev 3310)
@@ -486,6 +486,7 @@
if soClass._SO_finishedClassCreation:
unmakeProperties(soClass)
+ makeProperties(soClass)
for func in post_funcs:
func(soClass, column)
@@ -580,6 +581,7 @@
if soClass._SO_finishedClassCreation:
unmakeProperties(soClass)
+ makeProperties(soClass)
delJoin = classmethod(delJoin)
|