From c0d1d2f572ec0030960f28bf022e5570f0999728 Mon Sep 17 00:00:00 2001 From: Yoshinori Okuji <yo@nexedi.com> Date: Fri, 17 Mar 2006 19:58:21 +0000 Subject: [PATCH] Split by \n but not by /n. git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@6123 20353a03-c40f-0410-a6d1-a30d3c3de9de --- product/ERP5/Document/Inventory.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/product/ERP5/Document/Inventory.py b/product/ERP5/Document/Inventory.py index a75488b57a..aa20f68c0e 100755 --- a/product/ERP5/Document/Inventory.py +++ b/product/ERP5/Document/Inventory.py @@ -100,7 +100,7 @@ class Inventory(Delivery): ) kwd = {'uid':self.getUid()} kwd['start_date'] = start_date - variation_list = variation_text.split('/n') + variation_list = variation_text.split('\n') for inventory in current_inventory_list: sub_variation_list = [] if inventory.sub_variation_text is not None: -- 2.30.9