Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
W
wendelin
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
4
Merge Requests
4
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
wendelin
Commits
7a02e205
Commit
7a02e205
authored
Mar 07, 2024
by
Ivan Tyagov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Python2 -> Python3 print statement.
parent
2499d8f6
Pipeline
#33286
failed with stage
in 0 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
bt5/erp5_wendelin_configurator/SkinTemplateItem/portal_skins/erp5_configurator_wendelin/BusinessConfiguration_afterWendelinConfiguration.py
...delin/BusinessConfiguration_afterWendelinConfiguration.py
+2
-2
No files found.
bt5/erp5_wendelin_configurator/SkinTemplateItem/portal_skins/erp5_configurator_wendelin/BusinessConfiguration_afterWendelinConfiguration.py
View file @
7a02e205
...
...
@@ -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
)
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment