Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
slapos.core
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
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Léo-Paul Géneau
slapos.core
Commits
be0c90bc
Commit
be0c90bc
authored
Dec 11, 2012
by
Łukasz Nowak
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Raise faster.
parent
dbeedbfc
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
4 deletions
+5
-4
master/bt5/slapos_upgrader/SkinTemplateItem/portal_skins/slapos_upgrader/05_ERP5Site_updateLocalRoles.xml
...al_skins/slapos_upgrader/05_ERP5Site_updateLocalRoles.xml
+4
-3
master/bt5/slapos_upgrader/bt/revision
master/bt5/slapos_upgrader/bt/revision
+1
-1
No files found.
master/bt5/slapos_upgrader/SkinTemplateItem/portal_skins/slapos_upgrader/05_ERP5Site_updateLocalRoles.xml
View file @
be0c90bc
...
...
@@ -54,14 +54,15 @@
portal = context.getPortalObject()\n
\n
tag = script.id\n
if portal.portal_activities.countMessageWithTag(tag) >
0:\n
raise TypeError(\'Already running\')\n
\n
portal_type_list = []\n
for portal_type in portal.portal_types.contentValues():\n
if len(portal_type.contentValues(portal_type=\'Role Information\')) > 0:\n
portal_type_list.append(portal_type.getId())\n
\n
tag = script.id\n
if portal.portal_activities.countMessageWithTag(tag) > 0:\n
raise TypeError(\'Already running\')\n
method_id = \'Base_updateSlapOSLocalRoles\'\n
portal.portal_catalog.searchAndActivate(\n
portal_type=portal_type_list,\n
...
...
master/bt5/slapos_upgrader/bt/revision
View file @
be0c90bc
54
\ No newline at end of file
55
\ No newline at end of file
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