Commit c916b6cb authored by Romain Courteaud's avatar Romain Courteaud

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
parent 6a4e0731
...@@ -58,6 +58,8 @@ def special_extract_tb(tb, limit = None): ...@@ -58,6 +58,8 @@ def special_extract_tb(tb, limit = None):
# display where we failed in the sequence # display where we failed in the sequence
if co == Sequence.play.func_code: if co == Sequence.play.func_code:
if line is None:
line = ''
line += '\n Current Sequence:' line += '\n Current Sequence:'
sequence = f.f_locals['self'] sequence = f.f_locals['self']
for idx, step in enumerate(sequence._step_list): for idx, step in enumerate(sequence._step_list):
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment