Commit 7aa2de40 authored by Nicolas Dumazet's avatar Nicolas Dumazet

fix indentation


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@41151 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent a7425ae6
......@@ -326,14 +326,14 @@ class TypesTool(TypeProvider):
trashbin = UnrestrictedMethod(trash_tool.newTrashBin)(self.id)
trashbin._setOb(old_types_tool.id, old_types_tool)
def _migrateToPortalTypeClass(self):
for type_definition in self.contentValues():
if not type_definition._migrateToPortalTypeClass():
LOG('TypesTool', WARNING,
'Type definition %s was not migrated'
% type_definition.getRelativeUrl())
return False
return super(TypesTool, self)._migrateToPortalTypeClass()
def _migrateToPortalTypeClass(self):
for type_definition in self.contentValues():
if not type_definition._migrateToPortalTypeClass():
LOG('TypesTool', WARNING,
'Type definition %s was not migrated'
% type_definition.getRelativeUrl())
return False
return super(TypesTool, self)._migrateToPortalTypeClass()
# Compatibility code to access old "ERP5 Role Information" objects.
OldRoleInformation = imp.new_module('Products.ERP5Type.RoleInformation')
......
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