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