[Zope-Checkins] CVS: Zope2 - PropertyManager.py:1.40

Andreas Jung andreas@dhcp165.digicool.com
Mon, 7 May 2001 08:14:55 -0400


Update of /cvs-repository/Zope2/lib/python/OFS
In directory yetix:/work/sandboxes/Zope2/lib/python/OFS

Modified Files:
	PropertyManager.py 
Log Message:
reworked patch for Collector #2203



--- Updated File PropertyManager.py in package Zope2 --
--- PropertyManager.py	2001/05/05 20:16:08	1.39
+++ PropertyManager.py	2001/05/07 12:14:54	1.40
@@ -239,7 +239,6 @@
         # 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'
@@ -319,7 +318,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(id.strip(), value, type)
         if REQUEST is not None:
             return self.manage_propertiesForm(self, REQUEST)