[Zope-Checkins] CVS: Zope/lib/python/Products/PluginIndexes/common - UnIndex.py:1.19

Andreas Jung andreas@andreas-jung.com
Mon, 24 Feb 2003 00:56:41 -0500


Update of /cvs-repository/Zope/lib/python/Products/PluginIndexes/common
In directory cvs.zope.org:/tmp/cvs-serv19795/common

Modified Files:
	UnIndex.py 
Log Message:
last change broke unittests


=== Zope/lib/python/Products/PluginIndexes/common/UnIndex.py 1.18 => 1.19 ===
--- Zope/lib/python/Products/PluginIndexes/common/UnIndex.py:1.18	Sun Feb 23 08:18:34 2003
+++ Zope/lib/python/Products/PluginIndexes/common/UnIndex.py	Mon Feb 24 00:56:39 2003
@@ -88,8 +88,10 @@
         try: 
             self.indexed_attrs = extra.indexed_attrs.split(',')
             self.indexed_attrs = [ attr.strip() for attr in  self.indexed_attrs if attr ]
-        except: pass 
-        if len(self.indexed_attrs) == 0: self.indexed_attrs = [ self.id ]
+            if len(self.indexed_attrs) == 0: self.indexed_attrs = [ self.id ]
+        except:
+            self.indexed_attrs = [ self.id ] 
+        
         
         self.__len__=BTrees.Length.Length() # see __len__ method docstring
         self.clear()