Skip to content

Commit

Permalink
whitespace
Browse files Browse the repository at this point in the history
  • Loading branch information
hannosch committed Oct 21, 2012
1 parent d08308f commit ebddcb1
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/OFS/PropertyManager.py
Expand Up @@ -323,16 +323,16 @@ def manage_changeProperties(self, REQUEST=None, **kw):
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.
Expand Down

0 comments on commit ebddcb1

Please sign in to comment.