From 6de6cc7a0ef6a887f78ed26a42b9a8516972fb65 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9rome=20Perrin?= <jerome@nexedi.com> Date: Fri, 18 Nov 2005 21:59:56 +0000 Subject: [PATCH] 2 stranges lines removed in 2.98 where always raising a TypeError, which was catched before 2.96, so this quick patch should restore the old behaviour. git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@4364 20353a03-c40f-0410-a6d1-a30d3c3de9de --- product/ERP5Form/ListBox.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/product/ERP5Form/ListBox.py b/product/ERP5Form/ListBox.py index b82cd7424e..ea3fecbc6c 100755 --- a/product/ERP5Form/ListBox.py +++ b/product/ERP5Form/ListBox.py @@ -1901,6 +1901,8 @@ onChange="submitAction(this.form,'%s/portal_selections/setReportRoot')"> else: list_body += '<td class="Data"> </td>' + if render_format == 'list': + current_listboxline.addColumn( extended_columns[n][0], None) except KeyError: list_body += '<td class="Data"> </td>' #if render_format == 'list': current_listboxline.addColumn( column[1] , None) -- 2.30.9