Commit d897151c authored by Andreas Jung's avatar Andreas Jung

backport of changes from Zope-2_4-branch. Using TextIndexes has been

broken.
parent afe570da
......@@ -87,7 +87,7 @@
"""
__version__ = '$Revision: 1.14 $'[11:-2]
__version__ = '$Revision: 1.15 $'[11:-2]
import string, re
......@@ -191,16 +191,8 @@ class TextIndex(PluggableIndex.PluggableIndex, Persistent,
self.clear()
if extra:
self.vocabulary_id = extra.vocabulary
self.catalog = extra.catalog
else:
self.vocabulary_id = "Vocabulary"
self.catalog = None
if extra: self.vocabulary_id = extra.vocabulary
else: self.vocabulary_id = "Vocabulary"
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment