[Zope-Checkins] CVS: Zope2 - PropertyManager.py:1.39
andreas@serenade.digicool.com
andreas@serenade.digicool.com
Sat, 5 May 2001 16:16:09 -0400
Update of /cvs-repository/Zope2/lib/python/OFS
In directory serenade.digicool.com:/tmp/cvs-serv24024
Modified Files:
PropertyManager.py
Log Message:
Fix for Collector #2206: strip() id first
--- Updated File PropertyManager.py in package Zope2 --
--- PropertyManager.py 2001/04/27 20:27:41 1.38
+++ PropertyManager.py 2001/05/05 20:16:08 1.39
@@ -238,6 +238,8 @@
# for selection and multiple selection properties
# the value argument indicates the select variable
# of the property
+
+ id=id.strip()
self._wrapperCheck(value)
if not self.valid_property_id(id):
raise 'Bad Request', 'Invalid or duplicate property id'