Skip to content

Commit

Permalink
make format
Browse files Browse the repository at this point in the history
  • Loading branch information
mauritsvanrees committed Jul 1, 2022
1 parent 9710090 commit 8bda96d
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 7 deletions.
4 changes: 1 addition & 3 deletions plone/dexterity/browser/traversal.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,9 +47,7 @@ def publishTraverse(self, request, name):
):
return FolderDataResource(DAV_FOLDER_DATA_ID, context).__of__(context)

defaultTraversal = super().publishTraverse(
request, name
)
defaultTraversal = super().publishTraverse(request, name)

# If this is a WebDAV PUT/PROPFIND/PROPPATCH request, don't acquire
# things. If we did, we couldn't create a new object with PUT, for
Expand Down
4 changes: 1 addition & 3 deletions plone/dexterity/content.py
Original file line number Diff line number Diff line change
Expand Up @@ -826,9 +826,7 @@ def invokeFactory(self, type_name, id, RESPONSE=None, *args, **kw):
% type_name
)

return super().invokeFactory(
type_name, id, RESPONSE, *args, **kw
)
return super().invokeFactory(type_name, id, RESPONSE, *args, **kw)


def reindexOnModify(content, event):
Expand Down
2 changes: 1 addition & 1 deletion plone/dexterity/tests/test_webdav.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
from plone.dexterity.bbb import HAS_WEBDAV
from .case import MockTestCase
from plone.dexterity.bbb import HAS_WEBDAV


if HAS_WEBDAV:
Expand Down

0 comments on commit 8bda96d

Please sign in to comment.