[Zope-Checkins] CVS: Zope2 - PropertyManager.py:1.34.4.5
Andreas Jung
andreas@dhcp165.digicool.com
Mon, 7 May 2001 08:10:01 -0400
Update of /cvs-repository/Zope2/lib/python/OFS
In directory yetix:/work/sandboxes/zope-2_3-branch/lib/python/OFS
Modified Files:
Tag: zope-2_3-branch
PropertyManager.py
Log Message:
reworked patch for Collector #2203
--- Updated File PropertyManager.py in package Zope2 --
--- PropertyManager.py 2001/05/05 20:18:07 1.34.4.4
+++ PropertyManager.py 2001/05/07 12:09:59 1.34.4.5
@@ -240,7 +240,6 @@
# the value argument indicates the select variable
# of the property
- id = strip(id)
self._wrapperCheck(value)
if not self.valid_property_id(id):
raise 'Bad Request', 'Invalid or duplicate property id'
@@ -320,7 +319,7 @@
the given id, type, and value."""
if type_converters.has_key(type):
value=type_converters[type](value)
- self._setProperty(id, value, type)
+ self._setProperty(strip(id), value, type)
if REQUEST is not None:
return self.manage_propertiesForm(self, REQUEST)