[Zope-Checkins] CVS: Zope/lib/python/OFS - PropertySheets.py:1.91

Brian Lloyd brian at zope.com
Tue Oct 21 11:34:12 EDT 2003


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

Modified Files:
	PropertySheets.py 
Log Message:
fix bug 1005

=== Zope/lib/python/OFS/PropertySheets.py 1.90 => 1.91 ===
--- Zope/lib/python/OFS/PropertySheets.py:1.90	Mon Sep 29 08:16:36 2003
+++ Zope/lib/python/OFS/PropertySheets.py	Tue Oct 21 11:34:11 2003
@@ -311,9 +311,9 @@
             value=self.getProperty(name)
 
             if type=='tokens':
-                value=' '.join(str(value))
+                value=' '.join(map(str, value))
             elif type=='lines':
-                value='\n'.join(str(value))
+                value='\n'.join(map(str, value))
             # check for xml property
             attrs=item.get('meta', {}).get('__xml_attrs__', None)
             if attrs is not None:
@@ -363,9 +363,9 @@
             name, type=item['id'], item.get('type','string')
             value=self.getProperty(name)
             if type=='tokens':
-                value=' '.join(str(value))
+                value=' '.join(map(str, value))
             elif type=='lines':
-                value='\n'.join(str(value))
+                value='\n'.join(map(str, value))
             # allow for xml properties
             attrs=item.get('meta', {}).get('__xml_attrs__', None)
             if attrs is not None:




More information about the Zope-Checkins mailing list