diff roundup/backends/back_anydbm.py @ 3239:440f0a6a2e3c

merge from maint-0-8
author Richard Jones <richard@users.sourceforge.net>
date Thu, 03 Mar 2005 22:16:32 +0000
parents 3204488d20b5
children a615cc230160
line wrap: on
line diff
--- a/roundup/backends/back_anydbm.py	Thu Mar 03 10:00:40 2005 +0000
+++ b/roundup/backends/back_anydbm.py	Thu Mar 03 22:16:32 2005 +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.185 2005-02-14 05:39:37 richard Exp $
+#$Id: back_anydbm.py,v 1.186 2005-03-03 22:16:32 richard 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
 versions >2.1.1 (the dumbdbm fallback in 2.1.1 and earlier has several
@@ -1428,19 +1428,18 @@
 
     # change from spec - allows multiple props to match
     def find(self, **propspec):
-        '''Get the ids of items in this class which link to the given items.
+        '''Get the ids of nodes in this class which link to the given nodes.
 
-        'propspec' consists of keyword args propname=itemid or
-                   propname={itemid:1, }
+        'propspec' consists of keyword args propname=nodeid or
+                   propname={nodeid:1, }
         'propname' must be the name of a property in this class, or a
                    KeyError is raised.  That property must be a Link or
                    Multilink property, or a TypeError is raised.
 
-        Any item in this class whose 'propname' property links to any of the
-        itemids will be returned. Used by the full text indexing, which knows
-        that "foo" occurs in msg1, msg3 and file7, so we have hits on these
-        issues:
+        Any node in this class whose 'propname' property links to any of
+        the nodeids will be returned. Examples::
 
+            db.issue.find(messages='1')
             db.issue.find(messages={'1':1,'3':1}, files={'7':1})
         '''
         propspec = propspec.items()

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