[Zope-Checkins] CVS: Zope2 - Vocabulary.py:1.13
chrism@serenade.digicool.com
chrism@serenade.digicool.com
Mon, 19 Mar 2001 14:26:18 -0500
Update of /cvs-repository/Zope2/lib/python/Products/ZCatalog
In directory serenade:/slab/home/chrism/sandboxes/TrunkBranch/lib/python/Products/ZCatalog
Modified Files:
Vocabulary.py
Log Message:
Merged in Jim's big fix from 2.3 branch dealing with returning the lexicon attributes of a Vocabulary object.
--- Updated File Vocabulary.py in package Zope2 --
--- Vocabulary.py 2001/03/15 13:16:23 1.12
+++ Vocabulary.py 2001/03/19 19:26:17 1.13
@@ -158,6 +158,9 @@
else:
self.lexicon = Lexicon.Lexicon(stop_word_dict)
+ def getLexicon(self):
+ return self.lexicon
+
def query(self, pattern):
""" """
result = []