[Zope-Checkins] CVS: Zope/lib/python/OFS -
PropertySheets.py:1.87.6.4
Brian Lloyd
brian at zope.com
Tue Oct 21 11:35:11 EDT 2003
Update of /cvs-repository/Zope/lib/python/OFS
In directory cvs.zope.org:/tmp/cvs-serv17874
Modified Files:
Tag: Zope-2_6-branch
PropertySheets.py
Log Message:
fix bug 1005
=== Zope/lib/python/OFS/PropertySheets.py 1.87.6.3 => 1.87.6.4 ===
--- Zope/lib/python/OFS/PropertySheets.py:1.87.6.3 Mon Sep 29 08:11:37 2003
+++ Zope/lib/python/OFS/PropertySheets.py Tue Oct 21 11:35:10 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