Mercurial > p > roundup > code
diff roundup/backends/rdbms_common.py @ 2496:682eefe8ef23
WIP
| author | Richard Jones <richard@users.sourceforge.net> |
|---|---|
| date | Thu, 24 Jun 2004 06:39:07 +0000 |
| parents | ea7fb2f416db |
| children | bdd112cf61ba |
line wrap: on
line diff
--- a/roundup/backends/rdbms_common.py Wed Jun 23 23:19:07 2004 +0000 +++ b/roundup/backends/rdbms_common.py Thu Jun 24 06:39:07 2004 +0000 @@ -1,4 +1,4 @@ -# $Id: rdbms_common.py,v 1.111 2004-06-23 23:19:07 richard Exp $ +# $Id: rdbms_common.py,v 1.112 2004-06-24 06:39:07 richard Exp $ ''' Relational database (SQL) backend common code. Basics: @@ -2580,25 +2580,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
