summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 93bdb20)
raw | patch | inline | side by side (parent: 93bdb20)
author | richard <richard@57a73879-2fb5-44c3-a270-3262357dd7e2> | |
Wed, 25 Sep 2002 05:06:14 +0000 (05:06 +0000) | ||
committer | richard <richard@57a73879-2fb5-44c3-a270-3262357dd7e2> | |
Wed, 25 Sep 2002 05:06:14 +0000 (05:06 +0000) |
git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/trunk@1230 57a73879-2fb5-44c3-a270-3262357dd7e2
roundup/indexer.py | patch | blob | history |
diff --git a/roundup/indexer.py b/roundup/indexer.py
index 4295b70167573e4b76e749abe51a466b1496be12..e4d1d59b02c186e522b9b3addc707bd52ffe7c6a 100644 (file)
--- a/roundup/indexer.py
+++ b/roundup/indexer.py
# that promote freedom, but obviously am giving up any rights
# to compel such.
#
-#$Id: indexer.py,v 1.13 2002-09-10 00:18:20 richard Exp $
+#$Id: indexer.py,v 1.14 2002-09-25 05:06:14 richard Exp $
'''
This module provides an indexer class, RoundupIndexer, that stores text
indices in a roundup instance. This class makes searching the content of
nodeids[nodeid] = {}
continue
+ # make sure the class is a linked one, otherwise ignore
+ if not designator_propname.has_key(classname):
+ continue
+
# it's a linked class - set up to do the klass.find
linkprop = designator_propname[classname] # eg, msg -> messages
propspec[linkprop][nodeid] = 1