[CMF-checkins] CVS: CMF/CMFCore - WorkflowTool.py:1.24.4.8

Florent Guillaume fg@nuxeo.com
Sun, 4 Aug 2002 16:57:43 -0400


Update of /cvs-repository/CMF/CMFCore
In directory cvs.zope.org:/tmp/cvs-serv22937

Modified Files:
      Tag: CMF-1_3-branch
	WorkflowTool.py 
Log Message:
Revert change, the correct fix will follow.


=== CMF/CMFCore/WorkflowTool.py 1.24.4.7 => 1.24.4.8 ===
                 count = count + 1
                 if hasattr(aq_base(ob), 'reindexObject'):
                     # Reindex security-related indexes
-                    try:
-                        ob.reindexObject(idxs=['allowedRolesAndUsers'])
-                    except TypeError:
-                        # Catch attempts to reindex portal_catalog.
-                        pass
+                    ob.reindexObject(idxs=['allowedRolesAndUsers'])
         if hasattr(aq_base(ob), 'objectItems'):
             obs = ob.objectItems()
             if obs: