Commit 7a02e205 authored by Ivan Tyagov's avatar Ivan Tyagov

Python2 -> Python3 print statement.

parent 2499d8f6
......@@ -43,7 +43,7 @@ default_security_model_business_template = portal.portal_templates.getInstalledB
if default_security_model_business_template is not None:
for portal_type in default_security_model_business_template.getTemplatePortalTypeRoleList():
portal_type_instance = getattr(portal.portal_types, portal_type)
print "Updated Role Mappings for %s" %portal_type
print("Updated Role Mappings for %s" %portal_type)
portal_type_instance.updateRoleMapping()
# updata local roles (if any)
......@@ -56,6 +56,6 @@ if business_template is not None:
filter=dict(portal_type=portal_type))
for module in module_list:
module.updateLocalRolesOnSecurityGroups()
print "Updated Role Mappings for: %s(%s) " % (module.getTitle(), module.getPortalType())
print("Updated Role Mappings for: %s(%s) " % (module.getTitle(), module.getPortalType()))
log("%s" % printed)
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