Update of /cvs-repository/Products/PluginIndexes/common In directory cvs.zope.org:/tmp/cvs-serv32735/lib/python/Products/PluginIndexes/common
Modified Files: Tag: Zope-2_7-branch UnIndex.py Log Message: - Collector #1721: Fixed handling of an empty indexed_attrs parameter === Products/PluginIndexes/common/UnIndex.py 1.20.2.5 => 1.20.2.6 === --- Products/PluginIndexes/common/UnIndex.py:1.20.2.5 Thu Mar 10 11:12:56 2005 +++ Products/PluginIndexes/common/UnIndex.py Tue Apr 5 09:47:12 2005 @@ -100,6 +100,8 @@ else: self.indexed_attrs = list(ia) self.indexed_attrs = [ attr.strip() for attr in self.indexed_attrs if attr ] + if not self.indexed_attrs: + self.indexed_attrs = [id] self.__len__ = BTrees.Length.Length() # see __len__ method docstring self.clear() _______________________________________________ Zope-Checkins maillist - Zope-Checkins@zope.org http://mail.zope.org/mailman/listinfo/zope-checkins