[Zope-Checkins] SVN: Zope/branches/2.13/src/OFS/PropertyManager.py whitespace
Hano Schlichting
cvs-admin at zope.org
Sun Oct 21 20:05:26 UTC 2012
Log message for revision 128118:
whitespace
Changed:
U Zope/branches/2.13/src/OFS/PropertyManager.py
-=-
Modified: Zope/branches/2.13/src/OFS/PropertyManager.py
===================================================================
--- Zope/branches/2.13/src/OFS/PropertyManager.py 2012-10-21 19:59:29 UTC (rev 128117)
+++ Zope/branches/2.13/src/OFS/PropertyManager.py 2012-10-21 20:05:22 UTC (rev 128118)
@@ -272,7 +272,6 @@
dict[p['id']]=p
return dict
-
# Web interface
security.declareProtected(manage_properties, 'manage_addProperty')
@@ -282,7 +281,7 @@
Sets a new property with the given id, type, and value.
"""
if type in type_converters:
- value=type_converters[type](value)
+ value = type_converters[type](value)
self._setProperty(id.strip(), value, type)
if REQUEST is not None:
return self.manage_propertiesForm(self, REQUEST)
@@ -297,16 +296,16 @@
instead for most situations.
"""
for prop in self._propertyMap():
- name=prop['id']
+ name = prop['id']
if 'w' in prop.get('mode', 'wd'):
if prop['type'] == 'multiple selection':
- value=REQUEST.get(name, [])
+ value = REQUEST.get(name, [])
else:
- value=REQUEST.get(name, '')
+ value = REQUEST.get(name, '')
self._updateProperty(name, value)
if REQUEST:
- message="Saved changes."
- return self.manage_propertiesForm(self,REQUEST,
+ message = "Saved changes."
+ return self.manage_propertiesForm(self, REQUEST,
manage_tabs_message=message)
security.declareProtected(manage_properties, 'manage_changeProperties')
More information about the Zope-Checkins
mailing list