[Zope-dev] ZCatalog waaaagh!
Chris McDonough
chrism@digicool.com
Thu, 12 Apr 2001 21:03:33 -0400
I know why this is, but I'm not going to fix it tonight... sigh.
I need to go cry on Jim's shoulder for a bit before I check a proper fix in.
In the meantime, if you're desperate, here's a temporary fix...
replace the items method of the UnTextIndex class in UnTextIndex.py. The
current method looks something like this:
def items(self):
reurn self._index.items()
change it to:
def items(self):
items = []
for k, v in self._index.items():
if type(v) is type(1):
v = IITreeSet((v,))
items.append((k,v))
return tuple(items)
this is a very, very temporary fix... but it should fix the problem for now.
- C