[Erp5-report] r39100 romain - /erp5/trunk/products/ERP5Type/tests/Sequence.py

nobody at svn.erp5.org nobody at svn.erp5.org
Wed Oct 13 14:25:40 CEST 2010


Author: romain
Date: Wed Oct 13 14:25:34 2010
New Revision: 39100

URL: http://svn.erp5.org?rev=39100&view=rev
Log:
Do not concatenate None type object with string.

Modified:
    erp5/trunk/products/ERP5Type/tests/Sequence.py

Modified: erp5/trunk/products/ERP5Type/tests/Sequence.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5Type/tests/Sequence.py?rev=39100&r1=39099&r2=39100&view=diff
==============================================================================
--- erp5/trunk/products/ERP5Type/tests/Sequence.py [utf8] (original)
+++ erp5/trunk/products/ERP5Type/tests/Sequence.py [utf8] Wed Oct 13 14:25:34 2010
@@ -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):




More information about the Erp5-report mailing list