Mercurial > p > roundup > code
diff roundup/backends/rdbms_common.py @ 2732:0d8b3b5f40ea maint-0.7
merge from HEAD
| author | Richard Jones <richard@users.sourceforge.net> |
|---|---|
| date | Fri, 08 Oct 2004 00:57:22 +0000 |
| parents | 572746c94537 |
| children | 1e70e58cf763 |
line wrap: on
line diff
--- a/roundup/backends/rdbms_common.py Fri Oct 08 00:34:58 2004 +0000 +++ b/roundup/backends/rdbms_common.py Fri Oct 08 00:57:22 2004 +0000 @@ -1,4 +1,4 @@ -# $Id: rdbms_common.py,v 1.98.2.21 2004-10-08 00:21:31 richard Exp $ +# $Id: rdbms_common.py,v 1.98.2.22 2004-10-08 00:57:22 richard Exp $ ''' Relational database (SQL) backend common code. Basics: @@ -1131,7 +1131,10 @@ for param, value in params.items(): if not value: continue - property = properties[param] + property = properties.get(param, None) + if property is None: + # deleted property + continue cvt = self.sql_to_hyperdb_value[property.__class__] if isinstance(property, Password): params[param] = cvt(value)
