Commit 6b4c5c06 authored by Nicolas Dumazet's avatar Nicolas Dumazet

typo in condition: this module name is portal_type


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@41143 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 09590b76
......@@ -1403,7 +1403,7 @@ class ERP5Site(FolderMixIn, CMFSite, CacheCookieMixin):
We consider that a Site is migrated if its Types Tool is migrated
(it will always be migrated last)"""
if self.portal_types.__class__.__module__ == 'erp5.portal_types':
if self.portal_types.__class__.__module__ == 'erp5.portal_type':
# nothing to do
return True
......
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