Commit 0c7a1fc5 authored by Aurel's avatar Aurel

check attribute present before trying to delete it


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@16957 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 09d9680b
...@@ -472,6 +472,7 @@ class Folder(CopyContainer, CMFBTreeFolder, CMFHBTreeFolder, Base, FolderMixIn, ...@@ -472,6 +472,7 @@ class Folder(CopyContainer, CMFBTreeFolder, CMFHBTreeFolder, Base, FolderMixIn,
Remove remaining attributes from previous btree Remove remaining attributes from previous btree
and migration and migration
""" """
if getattr(self, "_tree", None) is not None:
delattr(self, "_tree") delattr(self, "_tree")
def _launchCopyObjectToHBTree(self, tag): def _launchCopyObjectToHBTree(self, tag):
......
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