author | Thierry Florac <tflorac@ulthar.net> |
Wed, 31 Oct 2012 14:19:43 +0100 | |
branch | ZTK-1.1 |
changeset 188 | 694af148f557 |
parent 187 | 9eaad4dbe96d |
child 189 | c9ce3999f76b |
--- a/src/ztfy/utils/catalog/index.py Thu Oct 25 18:59:02 2012 +0200 +++ b/src/ztfy/utils/catalog/index.py Wed Oct 31 14:19:43 2012 +0100 @@ -117,9 +117,9 @@ def index_doc(self, docid, value): """See interface IInjection""" + self.unindex_doc(docid) v = self.interface(value, None) if v is not None: - self.unindex_doc(docid) self._index.index_object(v, docid) def unindex_doc(self, docid):