Commit 5c62726e authored by Julien Muchembled's avatar Julien Muchembled

Really fix migration _property_domain_dict attribute on portal types, sorry

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@29565 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 627de4ef
...@@ -156,7 +156,7 @@ class OldTypesTool(OFSFolder): ...@@ -156,7 +156,7 @@ class OldTypesTool(OFSFolder):
else: else:
if k == '_property_domain_dict': if k == '_property_domain_dict':
v = dict((k, t.__class__(property_name=t.property_name, v = dict((k, t.__class__(property_name=t.property_name,
domain_name=t.property_name)) domain_name=t.domain_name))
for k, t in v.iteritems()) for k, t in v.iteritems())
setattr(new_type, k, v) setattr(new_type, k, v)
......
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