diff --git a/product/ERP5Type/Base.py b/product/ERP5Type/Base.py index e9e922acfa071fc47488a509fc9a28333e0a1e67..2161801e3c7592b225d43798d78314779c3f14d9 100644 --- a/product/ERP5Type/Base.py +++ b/product/ERP5Type/Base.py @@ -104,7 +104,7 @@ class WorkflowMethod(Method): except ObjectDeleted, ex: res = ex.getResult() else: - if getattr((aq_base(instance), 'reindexObject', None) is not None: + if getattr(aq_base(instance), 'reindexObject', None) is not None: instance.reindexObject() else: res = wf.wrapWorkflowMethod(instance, self._id, self.__dict__['_m'],