File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -76,7 +76,7 @@ def absolutize_path_patched(path, is_source=True):
7676 # Check whether obj exists at source path.
7777 # A redirect would be useless then.
7878
79- ### THIS IS THE PATCH ###
79+ # THIS IS THE PATCH
8080 # unrestrictedTraverse returns the object with acquisition, so if
8181 # you have a content with path /Plone/aaa and try to call unrestrictedTraverse
8282 # with /Plone/aaa/aaa/aaa/aaa it will always return /Plone/aaa object
@@ -90,7 +90,7 @@ def absolutize_path_patched(path, is_source=True):
9090 # if paths are different, it's an acquisition false positive,
9191 # so go on and let create the alias
9292 err = _ ("Cannot use a working path as alternative url." )
93- ### END OF THE PATCH ###
93+ # END OF PATCH
9494 else :
9595 # Check whether obj exists at target path
9696 result = catalog .searchResults (path = {"query" : path })
You can’t perform that action at this time.
0 commit comments