Mercurial > p > roundup > code
diff roundup/backends/rdbms_common.py @ 3398:54f98b078e44 maint-0.8 0.8.4
fixes
| author | Richard Jones <richard@users.sourceforge.net> |
|---|---|
| date | Mon, 18 Jul 2005 02:30:00 +0000 |
| parents | 6d6d7e331c54 |
| children | c75dd71a7963 |
line wrap: on
line diff
--- a/roundup/backends/rdbms_common.py Mon Jul 18 02:20:13 2005 +0000 +++ b/roundup/backends/rdbms_common.py Mon Jul 18 02:30:00 2005 +0000 @@ -1,4 +1,4 @@ -# $Id: rdbms_common.py,v 1.142.2.10 2005-07-12 01:43:17 richard Exp $ +# $Id: rdbms_common.py,v 1.142.2.11 2005-07-18 02:30:00 richard Exp $ ''' Relational database (SQL) backend common code. Basics: @@ -1659,6 +1659,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)
