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
Carlos Ramos Carreño
slapos.core
Commits
ab2f9bdc
Commit
ab2f9bdc
authored
Dec 10, 2012
by
Łukasz Nowak
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Delete more in one transaction.
This is cheap operation.
parent
78f029df
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
master/bt5/slapos_upgrader/SkinTemplateItem/portal_skins/slapos_upgrader/03_ERP5Site_deleteVifibAccounting.xml
...ins/slapos_upgrader/03_ERP5Site_deleteVifibAccounting.xml
+1
-1
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/03_ERP5Site_deleteVifibAccounting.xml
View file @
ab2f9bdc
...
...
@@ -87,7 +87,7 @@ deleted = False\n
if context in module_list:\n
b = DateTime().timeTime()\n
id_list = [q.getId() for q in \\\n
portal.portal_catalog(parent_uid=context.getUid(), limit=
2
0) if q.getRelativeUrl() not in BLACKLIST_RELATIVE_URL_LIST]\n
portal.portal_catalog(parent_uid=context.getUid(), limit=
10
0) if q.getRelativeUrl() not in BLACKLIST_RELATIVE_URL_LIST]\n
if id_list:\n
deleted = True\n
context.deleteContent(id_list)\n
...
...
master/bt5/slapos_upgrader/bt/revision
View file @
ab2f9bdc
49
\ No newline at end of file
50
\ 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