Commit 6702317f authored by Nicolas Dumazet's avatar Nicolas Dumazet

an else: clause was missing


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@41692 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent fa44918d
......@@ -235,6 +235,7 @@ def generatePortalTypeClass(portal_type_name):
LOG("ERP5Type.dynamic", WARNING,
"Property Sheet Tool was not found. Please update erp5_core "
"Business Template")
else:
if portal_type is not None:
# Get the Property Sheets defined on the portal_type and use the
# ZODB Property Sheet rather than the filesystem only if it
......
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