From d3f0c9e59baa5b66beb37547e9e7d11aaa1e9e83 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=C5=81ukasz=20Nowak?= <luke@nexedi.com>
Date: Wed, 6 Apr 2011 11:08:00 +0000
Subject: [PATCH]  - fix typo

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@45127 20353a03-c40f-0410-a6d1-a30d3c3de9de
---
 product/ERP5/Document/BusinessTemplate.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/product/ERP5/Document/BusinessTemplate.py b/product/ERP5/Document/BusinessTemplate.py
index 61ba633d3c..5efa0be054 100644
--- a/product/ERP5/Document/BusinessTemplate.py
+++ b/product/ERP5/Document/BusinessTemplate.py
@@ -2060,7 +2060,7 @@ class PortalTypeWorkflowChainTemplateItem(BaseTemplateItem):
               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)
-- 
2.30.9