Mercurial > p > roundup > code
diff roundup/backends/rdbms_common.py @ 2499:4d112730e02f maint-0.7
merge from HEAD
| author | Richard Jones <richard@users.sourceforge.net> |
|---|---|
| date | Thu, 24 Jun 2004 07:14:49 +0000 |
| parents | 8ff455218ec2 |
| children | f89a84f881f0 |
line wrap: on
line diff
--- a/roundup/backends/rdbms_common.py Wed Jun 23 23:21:32 2004 +0000 +++ b/roundup/backends/rdbms_common.py Thu Jun 24 07:14:49 2004 +0000 @@ -1,4 +1,4 @@ -# $Id: rdbms_common.py,v 1.98.2.10 2004-06-23 23:21:32 richard Exp $ +# $Id: rdbms_common.py,v 1.98.2.11 2004-06-24 07:14:48 richard Exp $ ''' Relational database (SQL) backend common code. Basics: @@ -2575,25 +2575,6 @@ self.db.storefile(self.classname, newid, None, content) return newid - def import_list(self, propnames, proplist): - ''' Trap the "content" property... - ''' - # dupe this list so we don't affect others - propnames = propnames[:] - - # extract the "content" property from the proplist - i = propnames.index('content') - content = eval(proplist[i]) - del propnames[i] - del proplist[i] - - # do the normal import - newid = Class.import_list(self, propnames, proplist) - - # save off the "content" file - self.db.storefile(self.classname, newid, None, content) - return newid - _marker = [] def get(self, nodeid, propname, default=_marker, cache=1): ''' Trap the content propname and get it from the file
