[Zope-Checkins] CVS: Zope/lib/python/DocumentTemplate - DT_In.py:1.59

Toby Dickenson tdickenson@geminidataloggers.com
Tue, 7 May 2002 13:55:37 -0400


Update of /cvs-repository/Zope/lib/python/DocumentTemplate
In directory cvs.zope.org:/tmp/cvs-serv20400

Modified Files:
	DT_In.py 
Log Message:
correct unicode-aware joining of sequences

=== Zope/lib/python/DocumentTemplate/DT_In.py 1.58 => 1.59 ===
 
 import sys
-from DT_Util import ParseError, parse_params, name_param, str
+from DT_Util import ParseError, parse_params, name_param, str, join_unicode
 from DT_Util import render_blocks, InstanceDict, ValidationError, Eval
 from DT_Util import simple_name, add_with_prefix
 import re
@@ -609,7 +609,7 @@
                     if index==first: pkw['sequence-start']=0
 
 
-                result = ''.join(result)
+                result = join_unicode(result)
 
         finally:
             if cache: pop()
@@ -708,7 +708,7 @@
                             pop()
                     if index==0: pkw['sequence-start']=0
 
-                result = ''.join(result)
+                result = join_unicode(result)
 
         finally:
             if cache: pop()