Mercurial > p > roundup > code
diff roundup/backends/rdbms_common.py @ 3399:3a0d4e4a0f34
merge from maint-0-8
| author | Richard Jones <richard@users.sourceforge.net> |
|---|---|
| date | Mon, 18 Jul 2005 02:35:18 +0000 |
| parents | c1c67c62b699 |
| children | 4aeb0d0cf0d6 |
line wrap: on
line diff
--- a/roundup/backends/rdbms_common.py Mon Jul 18 02:19:40 2005 +0000 +++ b/roundup/backends/rdbms_common.py Mon Jul 18 02:35:18 2005 +0000 @@ -1,4 +1,4 @@ -# $Id: rdbms_common.py,v 1.157 2005-07-12 01:37:50 richard Exp $ +# $Id: rdbms_common.py,v 1.158 2005-07-18 02:35:18 richard Exp $ ''' Relational database (SQL) backend common code. Basics: @@ -1669,6 +1669,7 @@ if value is not None and type(value) != type('') and type(value) != type(u''): raise TypeError, 'new property "%s" not a string'%propname if prop.indexme: + if value is None: value = '' self.db.indexer.add_text((self.classname, nodeid, propname), value)
