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
b5dda8b9
Commit
b5dda8b9
authored
Nov 04, 2005
by
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
- removed fallback isAnObjectManager check
parent
dfb4fc05
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
3 deletions
+8
-3
doc/CHANGES.txt
doc/CHANGES.txt
+6
-0
lib/python/OFS/PropertySheets.py
lib/python/OFS/PropertySheets.py
+2
-3
No files found.
doc/CHANGES.txt
View file @
b5dda8b9
...
...
@@ -73,6 +73,12 @@ Zope Changes
- Improved test runner. Run test.py with -h to find out more.
Bugs Fixed
- OFS PropertySheets / webdav: Fixed dav__resourcetype.
__dav_collection__ with a false value was overridden by
isAnObjectManager.
Other
- ZSQLMethod.manage_main: Moved the error message that warns of a
...
...
lib/python/OFS/PropertySheets.py
View file @
b5dda8b9
...
...
@@ -7,7 +7,7 @@
# THIS SOFTWARE IS PROVIDED "AS IS" AND ANY AND ALL EXPRESS OR IMPLIED
# WARRANTIES ARE DISCLAIMED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
# WARRANTIES OF TITLE, MERCHANTABILITY, AGAINST INFRINGEMENT, AND FITNESS
# FOR A PARTICULAR PURPOSE
# FOR A PARTICULAR PURPOSE
.
#
##############################################################################
"""Property sheets
...
...
@@ -533,8 +533,7 @@ class DAVProperties(Virtual, PropertySheet, View):
def
dav__resourcetype
(
self
):
vself
=
self
.
v_self
()
if
(
isDavCollection
(
vself
)
or
getattr
(
aq_base
(
vself
),
'isAnObjectManager'
,
None
)):
if
isDavCollection
(
vself
):
return
'<n:collection/>'
return
''
...
...
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