Skip to content

Commit

Permalink
fixes from review
Browse files Browse the repository at this point in the history
  • Loading branch information
d-maurer committed Feb 17, 2024
1 parent 64f941a commit faba0d6
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 3 deletions.
2 changes: 1 addition & 1 deletion CHANGES.rst
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ https://github.com/zopefoundation/Zope/blob/4.x/CHANGES.rst
- Fix redirections to URLs with host given as IP-literal with brackets.
Fixes `#1191 <https://github.com/zopefoundation/Zope/issues/1191>`_.

- Introduce the decorator ``ZPublisher.zpublish` to explicitly
- Introduce the decorator ``ZPublisher.zpublish`` to explicitly
control publication by ``ZPublisher``.
For details see
`#1197 <https://github.com/zopefoundation/Zope/pull/1197>`_.
Expand Down
1 change: 0 additions & 1 deletion src/webdav/Collection.py
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,6 @@ def DELETE(self, REQUEST, RESPONSE):

return RESPONSE

@zpublish
@security.protected(webdav_access)
def listDAVObjects(self):
objectValues = getattr(self, 'objectValues', None)
Expand Down
1 change: 0 additions & 1 deletion src/webdav/Resource.py
Original file line number Diff line number Diff line change
Expand Up @@ -704,7 +704,6 @@ def manage_DAVget(self):
# If it doesn't exist, give up.
return ''

@zpublish
@security.protected(webdav_access)
def listDAVObjects(self):
return []
Expand Down

0 comments on commit faba0d6

Please sign in to comment.