Skip to content

Commit 3bf419a

Browse files
author
Richard Jones
committed
backport from HEAD
1 parent e1e749f commit 3bf419a

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
@@ -6,6 +6,7 @@ Fixed:
66
- Fixed detectors fix incorrectly fixed in bugfix release 0.6.2
77
- Added note to upgrading doc for detectors fix in 0.6.2
88
- added script to help migrating queries from pre-0.6 trackers
9+
- Fixed "documentation" of getnodeids in roundup.hyperdb
910

1011

1112
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.87.2.1 2003-09-04 23:09:48 richard Exp $
18+
# $Id: hyperdb.py,v 1.87.2.2 2003-10-24 22:54:06 richard Exp $
1919

2020
"""
2121
Hyperdatabase implementation, especially field types.
@@ -260,11 +260,6 @@ def countnodes(self, classname, db=None):
260260
'''
261261
raise NotImplementedError
262262

263-
def getnodeids(self, classname, db=None):
264-
'''Retrieve all the ids of the nodes for a particular Class.
265-
'''
266-
raise NotImplementedError
267-
268263
def storefile(self, classname, nodeid, property, content):
269264
'''Store the content of the file in the database.
270265
@@ -381,6 +376,11 @@ def getnode(self, nodeid, cache=1):
381376
'''
382377
return Node(self, nodeid)
383378

379+
def getnodeids(self, db=None):
380+
'''Retrieve all the ids of the nodes for a particular Class.
381+
'''
382+
raise NotImplementedError
383+
384384
def set(self, nodeid, **propvalues):
385385
"""Modify a property on an existing node of this class.
386386

0 commit comments

Comments
 (0)