From c916b6cb84c60a0e1a2f1afea8b56fd15bdbb977 Mon Sep 17 00:00:00 2001 From: Romain Courteaud <romain@nexedi.com> Date: Wed, 13 Oct 2010 12:25:34 +0000 Subject: [PATCH] Do not concatenate None type object with string. git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@39100 20353a03-c40f-0410-a6d1-a30d3c3de9de --- product/ERP5Type/tests/Sequence.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/product/ERP5Type/tests/Sequence.py b/product/ERP5Type/tests/Sequence.py index 1ae8f623fa..f7ae0b11df 100644 --- a/product/ERP5Type/tests/Sequence.py +++ b/product/ERP5Type/tests/Sequence.py @@ -58,6 +58,8 @@ def special_extract_tb(tb, limit = None): # display where we failed in the sequence if co == Sequence.play.func_code: + if line is None: + line = '' line += '\n Current Sequence:' sequence = f.f_locals['self'] for idx, step in enumerate(sequence._step_list): -- 2.30.9