[Erp5-report] r38867 fabien - /erp5/trunk/products/ERP5Type/patches/DCWorkflow.py

nobody at svn.erp5.org nobody at svn.erp5.org
Mon Oct 4 15:03:28 CEST 2010


Author: fabien
Date: Mon Oct  4 15:03:20 2010
New Revision: 38867

URL: http://svn.erp5.org?rev=38867&view=rev
Log:
reverse the condition which was bad, sorry

Modified:
    erp5/trunk/products/ERP5Type/patches/DCWorkflow.py

Modified: erp5/trunk/products/ERP5Type/patches/DCWorkflow.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5Type/patches/DCWorkflow.py?rev=38867&r1=38866&r2=38867&view=diff
==============================================================================
--- erp5/trunk/products/ERP5Type/patches/DCWorkflow.py [utf8] (original)
+++ erp5/trunk/products/ERP5Type/patches/DCWorkflow.py [utf8] Mon Oct  4 15:03:20 2010
@@ -254,7 +254,7 @@ def DCWorkflowDefinition_getWorklistVari
         variable_match['portal_type'] = list(portal_type_intersection)
       variable_match.setdefault('portal_type', portal_type_list)
 
-      if len(variable_match.get('portal_type', [])):
+      if len(variable_match.get('portal_type', [])) == 0:
         continue
       is_permitted_worklist = 0
       if guard is None:




More information about the Erp5-report mailing list