SVN: Zope/branches/2.13/src/OFS/PropertyManager.py whitespace
Hano Schlichting <[email protected]> Sun, 21 Oct 2012 16:13:10 -0400 (EDT)
| Newsgroups | gmane.comp.web.zope.cvs |
|---|---|
| Message-ID | <20121021201310.CB989940F9__25273.8685500391$1350850402$gmane$org@cvs.zope.org> |
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.
_______________________________________________
Zope-Checkins maillist - [email protected]
https://mail.zope.org/mailman/listinfo/zope-checkins