Author: phd
Date: 2007-10-15 07:57:58 -0600 (Mon, 15 Oct 2007)
New Revision: 3073
Modified:
SQLObject/branches/0.9/docs/News.txt
SQLObject/branches/0.9/sqlobject/col.py
Log:
Fixed a misspelled 'zerofill' option's name.
Modified: SQLObject/branches/0.9/docs/News.txt
===================================================================
--- SQLObject/branches/0.9/docs/News.txt 2007-10-15 02:47:49 UTC (rev 3072)
+++ SQLObject/branches/0.9/docs/News.txt 2007-10-15 13:57:58 UTC (rev 3073)
@@ -13,6 +13,8 @@
* Fixed a bug in Versioning - do not copy "alternateID" and "unique"
attributes from the versioned table.
+* Fixed a misspelled 'zerofill' option's name.
+
* A number of changes ported from `SQLObject 0.7.9`_ and `SQLObject 0.8.6`_.
SQLObject 0.9.1
Modified: SQLObject/branches/0.9/sqlobject/col.py
===================================================================
--- SQLObject/branches/0.9/sqlobject/col.py 2007-10-15 02:47:49 UTC (rev 3072)
+++ SQLObject/branches/0.9/sqlobject/col.py 2007-10-15 13:57:58 UTC (rev 3073)
@@ -603,7 +603,7 @@
def __init__(self, **kw):
self.length = popKey(kw, 'length')
self.unsigned = bool(popKey(kw, 'unsigned'))
- self.zerofill = bool(popKey(kw, 'unsigned'))
+ self.zerofill = bool(popKey(kw, 'zerofill'))
SOCol.__init__(self, **kw)
def autoConstraints(self):
|