[Zope-Checkins] CVS: Zope/lib/python/Products/ZCTextIndex - ZCTextIndex.py:1.46.12.1

Casey Duncan casey@zope.com
Thu, 5 Jun 2003 12:21:05 -0400


Update of /cvs-repository/Zope/lib/python/Products/ZCTextIndex
In directory cvs.zope.org:/tmp/cvs-serv24440

Modified Files:
      Tag: casey-zctextindex-fewer-conflicts-branch
	ZCTextIndex.py 
Log Message:
Remove needless change flagging in ZCTextIndex class which guarantees conflicts


=== Zope/lib/python/Products/ZCTextIndex/ZCTextIndex.py 1.46 => 1.46.12.1 ===
--- Zope/lib/python/Products/ZCTextIndex/ZCTextIndex.py:1.46	Fri Feb 28 17:22:57 2003
+++ Zope/lib/python/Products/ZCTextIndex/ZCTextIndex.py	Thu Jun  5 12:21:05 2003
@@ -173,13 +173,11 @@
         if text is None:
             return 0
         count = self.index.index_doc(docid, text)
-        self._p_changed = 1 # XXX
         return count
 
     def unindex_object(self, docid):
         if self.index.has_doc(docid):
             self.index.unindex_doc(docid)
-            self._p_changed = 1 # XXX
 
     def _apply_index(self, request, cid=''):
         """Apply query specified by request, a mapping containing the query.