[Zope-Checkins] SVN: Zope/branches/2.13/src/OFS/PropertyManager.py whitespace
Hano Schlichting
cvs-admin at zope.org
Sun Oct 21 20:13:10 UTC 2012
Log message for revision 128120:
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 20:12:27 UTC (rev 128119)
+++ Zope/branches/2.13/src/OFS/PropertyManager.py 2012-10-21 20:13:07 UTC (rev 128120)
@@ -323,16 +323,16 @@
props = REQUEST.form
if kw:
for name, value in kw.items():
- props[name]=value
- propdict=self.propdict()
+ props[name] = value
+ propdict = self.propdict()
for name, value in props.items():
if self.hasProperty(name):
if not 'w' in propdict[name].get('mode', 'wd'):
- raise BadRequest, '%s cannot be changed' % escape(name)
+ raise BadRequest('%s cannot be changed' % escape(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)
# Note - this is experimental, pending some community input.
More information about the Zope-Checkins
mailing list