[Erp5-report] r45127 luke - /erp5/trunk/products/ERP5/Document/BusinessTemplate.py

nobody at svn.erp5.org nobody at svn.erp5.org
Wed Apr 6 13:08:01 CEST 2011


Author: luke
Date: Wed Apr  6 13:08:00 2011
New Revision: 45127

URL: http://svn.erp5.org?rev=45127&view=rev
Log:
 - fix typo

Modified:
    erp5/trunk/products/ERP5/Document/BusinessTemplate.py

Modified: erp5/trunk/products/ERP5/Document/BusinessTemplate.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/Document/BusinessTemplate.py?rev=45127&r1=45126&r2=45127&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/Document/BusinessTemplate.py [utf8] (original)
+++ erp5/trunk/products/ERP5/Document/BusinessTemplate.py [utf8] Wed Apr  6 13:08:00 2011
@@ -2060,7 +2060,7 @@ class PortalTypeWorkflowChainTemplateIte
               old_chain_workflow_id_set.add(wf_id[1:])
             # then either '+' or nothing, add wf id to the list
             else:
-              wf_id.lstrip('+')
+              wf_id = wf_id.lstrip('+')
               old_chain_workflow_id_set.add(wf_id)
             # create the new chain
             chain_dict[chain_key] = list(old_chain_workflow_id_set)



More information about the Erp5-report mailing list