Commit fbd52563 authored by Jérome Perrin's avatar Jérome Perrin

BT: fix misleading error message

parent feded98f
...@@ -3283,7 +3283,7 @@ class PortalTypeRolesTemplateItem(BaseTemplateItem): ...@@ -3283,7 +3283,7 @@ class PortalTypeRolesTemplateItem(BaseTemplateItem):
for role_property_dict in type_roles_list: for role_property_dict in type_roles_list:
obj._importRole(role_property_dict) obj._importRole(role_property_dict)
else: else:
raise AttributeError("Path '%r' not found while " raise AttributeError("Path %r not found while "
"installing roles" % (path, )) "installing roles" % (path, ))
def uninstall(self, context, **kw): def uninstall(self, context, **kw):
......
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