FWIW, this applies to Bug 6266, r=capps

Cheers,
Katie

[email protected] wrote:
Revision
    11268 <http://viewcvs.osafoundation.org/chandler?view=rev&rev=11268>
Author
    vajda
Date
    2006-07-26 15:36:58 -0700 (Wed, 26 Jul 2006)


      Log Message

- backported earlier index merging bug fixes to a3, requested by capps


      Modified Paths

    * branches/0.7alpha3/chandler/repository/item/Indexed.py
      <#branches07alpha3chandlerrepositoryitemIndexedpy>


      Diff


        Modified: branches/0.7alpha3/chandler/repository/item/Indexed.py
        (11267 => 11268)

--- branches/0.7alpha3/chandler/repository/item/Indexed.py      2006-07-26 
22:16:15 UTC (rev 11267)
+++ branches/0.7alpha3/chandler/repository/item/Indexed.py      2006-07-26 
22:36:58 UTC (rev 11268)
@@ -204,8 +204,7 @@
             _indexChanges = {}
for indexName, index in indexes.iteritems():
-                if index._needsReindexing():
-                    _indexChanges[indexName] = dict(index._iterChanges())
+                _indexChanges[indexName] = dict(index._iterChanges())
if _indexChanges:
                 indexChanges[name] = _indexChanges
@@ -232,6 +231,8 @@
             for key in others:
                 index.insertKey(key)
+ self._setDirty(True)
+
     def _createIndex(self, indexType, **kwds):
if indexType == 'numeric':


------------------------------------------------------------------------

_______________________________________________
Commits mailing list
[email protected]
http://lists.osafoundation.org/mailman/listinfo/commits

_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

Open Source Applications Foundation "chandler-dev" mailing list
http://lists.osafoundation.org/mailman/listinfo/chandler-dev

Reply via email to