Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Z
Zope
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
Zope
Commits
ebddcb13
Commit
ebddcb13
authored
Oct 21, 2012
by
Hanno Schlichting
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
whitespace
parent
d08308f3
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
src/OFS/PropertyManager.py
src/OFS/PropertyManager.py
+5
-5
No files found.
src/OFS/PropertyManager.py
View file @
ebddcb13
...
@@ -323,16 +323,16 @@ class PropertyManager(Base, ElementWithAttributes):
...
@@ -323,16 +323,16 @@ class PropertyManager(Base, ElementWithAttributes):
props
=
REQUEST
.
form
props
=
REQUEST
.
form
if
kw
:
if
kw
:
for
name
,
value
in
kw
.
items
():
for
name
,
value
in
kw
.
items
():
props
[
name
]
=
value
props
[
name
]
=
value
propdict
=
self
.
propdict
()
propdict
=
self
.
propdict
()
for
name
,
value
in
props
.
items
():
for
name
,
value
in
props
.
items
():
if
self
.
hasProperty
(
name
):
if
self
.
hasProperty
(
name
):
if
not
'w'
in
propdict
[
name
].
get
(
'mode'
,
'wd'
):
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
)
self
.
_updateProperty
(
name
,
value
)
if
REQUEST
:
if
REQUEST
:
message
=
"Saved changes."
message
=
"Saved changes."
return
self
.
manage_propertiesForm
(
self
,
REQUEST
,
return
self
.
manage_propertiesForm
(
self
,
REQUEST
,
manage_tabs_message
=
message
)
manage_tabs_message
=
message
)
# Note - this is experimental, pending some community input.
# Note - this is experimental, pending some community input.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment