Mercurial > p > roundup > code
diff roundup/backends/back_anydbm.py @ 1926:3bdd34547fa7
Remove implementations of Class.getnode from back_anydbm and rdbms_common...
...it's already in hyperdb.Class.
Implementations of hyperdb.Database do need to implement the getnode
method themselves.
| author | Johannes Gijsbers <jlgijsbers@users.sourceforge.net> |
|---|---|
| date | Sun, 16 Nov 2003 18:41:40 +0000 |
| parents | f9316d2cd5ba |
| children | 767ff2a03eee |
line wrap: on
line diff
--- a/roundup/backends/back_anydbm.py Fri Nov 14 00:11:19 2003 +0000 +++ b/roundup/backends/back_anydbm.py Sun Nov 16 18:41:40 2003 +0000 @@ -15,7 +15,7 @@ # BASIS, AND THERE IS NO OBLIGATION WHATSOEVER TO PROVIDE MAINTENANCE, # SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. # -#$Id: back_anydbm.py,v 1.131 2003-11-14 00:11:18 richard Exp $ +#$Id: back_anydbm.py,v 1.132 2003-11-16 18:41:40 jlgijsbers Exp $ ''' This module defines a backend that saves the hyperdatabase in a database chosen by anydbm. It is guaranteed to always be available in python @@ -1094,17 +1094,6 @@ return d[propname] - # not in spec - def getnode(self, nodeid, cache=1): - ''' Return a convenience wrapper for the node. - - 'nodeid' must be the id of an existing node of this class or an - IndexError is raised. - - 'cache' exists for backwards compatibility, and is not used. - ''' - return Node(self, nodeid) - def set(self, nodeid, **propvalues): '''Modify a property on an existing node of this class.
