From df580203b180f9a22f9a571a15427531bd09565f Mon Sep 17 00:00:00 2001 From: richard Date: Fri, 24 Oct 2003 22:52:48 +0000 Subject: [PATCH] Fixed "documentation" of getnodeids in roundup.hyperdb git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/trunk@1933 57a73879-2fb5-44c3-a270-3262357dd7e2 --- CHANGES.txt | 1 + roundup/hyperdb.py | 12 ++++++------ 2 files changed, 7 insertions(+), 6 deletions(-) diff --git a/CHANGES.txt b/CHANGES.txt index a742947..400fabd 100644 --- a/CHANGES.txt +++ b/CHANGES.txt @@ -15,6 +15,7 @@ Fixed: - Fixed detectors fix incorrectly fixed in bugfix release 0.6.2 - Added note to upgrading doc for detectors fix in 0.6.2 - added script to help migrating queries from pre-0.6 trackers +- Fixed "documentation" of getnodeids in roundup.hyperdb 2003-09-29 0.6.2 diff --git a/roundup/hyperdb.py b/roundup/hyperdb.py index a524b19..6a1c831 100644 --- a/roundup/hyperdb.py +++ b/roundup/hyperdb.py @@ -15,7 +15,7 @@ # BASIS, AND THERE IS NO OBLIGATION WHATSOEVER TO PROVIDE MAINTENANCE, # SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. # -# $Id: hyperdb.py,v 1.89 2003-10-07 11:58:57 anthonybaxter Exp $ +# $Id: hyperdb.py,v 1.90 2003-10-24 22:52:48 richard Exp $ """ Hyperdatabase implementation, especially field types. @@ -268,11 +268,6 @@ concrete backend Class. ''' raise NotImplementedError - def getnodeids(self, classname, db=None): - '''Retrieve all the ids of the nodes for a particular Class. - ''' - raise NotImplementedError - def storefile(self, classname, nodeid, property, content): '''Store the content of the file in the database. @@ -389,6 +384,11 @@ class Class: ''' return Node(self, nodeid) + def getnodeids(self, db=None): + '''Retrieve all the ids of the nodes for a particular Class. + ''' + raise NotImplementedError + def set(self, nodeid, **propvalues): """Modify a property on an existing node of this class. -- 2.30.2