[Checkins] SVN: Products.ZCatalog/trunk/ Fixed undefined variables in BooleanIndex inline migration code.

Hanno Schlichting hannosch at hannosch.eu
Thu Jun 30 11:16:47 EDT 2011


Log message for revision 122047:
  Fixed undefined variables in BooleanIndex inline migration code.
  

Changed:
  U   Products.ZCatalog/trunk/CHANGES.txt
  U   Products.ZCatalog/trunk/src/Products/PluginIndexes/BooleanIndex/BooleanIndex.py

-=-
Modified: Products.ZCatalog/trunk/CHANGES.txt
===================================================================
--- Products.ZCatalog/trunk/CHANGES.txt	2011-06-30 06:49:36 UTC (rev 122046)
+++ Products.ZCatalog/trunk/CHANGES.txt	2011-06-30 15:16:46 UTC (rev 122047)
@@ -4,6 +4,8 @@
 2.13.15 (unreleased)
 --------------------
 
+- Fixed undefined variables in BooleanIndex inline migration code.
+
 - Fixed BooleanIndex' items method so the ZMI browse view works.
 
 2.13.14 (2011-05-19)

Modified: Products.ZCatalog/trunk/src/Products/PluginIndexes/BooleanIndex/BooleanIndex.py
===================================================================
--- Products.ZCatalog/trunk/src/Products/PluginIndexes/BooleanIndex/BooleanIndex.py	2011-06-30 06:49:36 UTC (rev 122046)
+++ Products.ZCatalog/trunk/src/Products/PluginIndexes/BooleanIndex/BooleanIndex.py	2011-06-30 15:16:46 UTC (rev 122047)
@@ -110,6 +110,8 @@
         # BBB inline migration
         if index_length is None:
             self._inline_migration()
+            length = self._length
+            index_length = self._index_length
         if length.value == 0:
             self._index_value = int(not bool(entry))
 



More information about the checkins mailing list