Skip to content

Commit 69d7b27

Browse files
author
Richard Jones
committed
Fixed "documentation" of getnodeids in roundup.hyperdb
1 parent e007ce7 commit 69d7b27

File tree

2 files changed

+7
-6
lines changed

2 files changed

+7
-6
lines changed

CHANGES.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ Fixed:
1515
- Fixed detectors fix incorrectly fixed in bugfix release 0.6.2
1616
- Added note to upgrading doc for detectors fix in 0.6.2
1717
- added script to help migrating queries from pre-0.6 trackers
18+
- Fixed "documentation" of getnodeids in roundup.hyperdb
1819

1920

2021
2003-09-29 0.6.2

roundup/hyperdb.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
# BASIS, AND THERE IS NO OBLIGATION WHATSOEVER TO PROVIDE MAINTENANCE,
1616
# SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS.
1717
#
18-
# $Id: hyperdb.py,v 1.89 2003-10-07 11:58:57 anthonybaxter Exp $
18+
# $Id: hyperdb.py,v 1.90 2003-10-24 22:52:48 richard Exp $
1919

2020
"""
2121
Hyperdatabase implementation, especially field types.
@@ -268,11 +268,6 @@ def countnodes(self, classname, db=None):
268268
'''
269269
raise NotImplementedError
270270

271-
def getnodeids(self, classname, db=None):
272-
'''Retrieve all the ids of the nodes for a particular Class.
273-
'''
274-
raise NotImplementedError
275-
276271
def storefile(self, classname, nodeid, property, content):
277272
'''Store the content of the file in the database.
278273
@@ -389,6 +384,11 @@ def getnode(self, nodeid, cache=1):
389384
'''
390385
return Node(self, nodeid)
391386

387+
def getnodeids(self, db=None):
388+
'''Retrieve all the ids of the nodes for a particular Class.
389+
'''
390+
raise NotImplementedError
391+
392392
def set(self, nodeid, **propvalues):
393393
"""Modify a property on an existing node of this class.
394394

0 commit comments

Comments
 (0)