diff roundup/backends/rdbms_common.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/rdbms_common.py	Fri Nov 14 00:11:19 2003 +0000
+++ b/roundup/backends/rdbms_common.py	Sun Nov 16 18:41:40 2003 +0000
@@ -1,4 +1,4 @@
-# $Id: rdbms_common.py,v 1.70 2003-11-14 00:11:19 richard Exp $
+# $Id: rdbms_common.py,v 1.71 2003-11-16 18:41:40 jlgijsbers Exp $
 ''' Relational database (SQL) backend common code.
 
 Basics:
@@ -1373,16 +1373,6 @@
 
         return d[propname]
 
-    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.
         

Roundup Issue Tracker: http://roundup-tracker.org/