Commit 5829c3b9 authored by Nicolas Dumazet's avatar Nicolas Dumazet

`in Folder` does not seem to work for Zope 2.8


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@40645 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent a0b5ead5
...@@ -130,7 +130,7 @@ class PropertySheetTool(BaseTool): ...@@ -130,7 +130,7 @@ class PropertySheetTool(BaseTool):
if name[0] == '_': if name[0] == '_':
continue continue
if name in self.portal_property_sheets: if name in self.portal_property_sheets.objectIds():
self.portal_property_sheets.deleteContent(name) self.portal_property_sheets.deleteContent(name)
transaction.commit() transaction.commit()
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment