Skip to content

Commit

Permalink
Prevent case where (e.g. in test_cook_zope3_page_templates_using_form…
Browse files Browse the repository at this point in the history
…at) a Folder is not properly aq-wrapped when calling getPhysicalPath during __repr__.
  • Loading branch information
pbauer committed Oct 27, 2018
1 parent 170b3a6 commit b52bdd9
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/OFS/Folder.py
Expand Up @@ -25,6 +25,7 @@
from OFS.PropertyManager import PropertyManager
from OFS.role import RoleManager
from OFS.SimpleItem import Item
from OFS.SimpleItem import PathReprProvider
from zope.interface import implementer


Expand Down Expand Up @@ -58,6 +59,7 @@ def manage_addFolder(
@implementer(IFolder)
class Folder(
ObjectManager,
PathReprProvider,
PropertyManager,
RoleManager,
Collection,
Expand Down

0 comments on commit b52bdd9

Please sign in to comment.