Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
erp5
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
Titouan Soulard
erp5
Commits
9dadb6dd
Commit
9dadb6dd
authored
Mar 11, 2022
by
Vincent Pelletier
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Products.CMFActivity.Activity.SQLBase: Make set operations more readable.
parent
5b96a405
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
product/CMFActivity/Activity/SQLBase.py
product/CMFActivity/Activity/SQLBase.py
+2
-2
No files found.
product/CMFActivity/Activity/SQLBase.py
View file @
9dadb6dd
...
@@ -617,10 +617,10 @@ CREATE TABLE %s (
...
@@ -617,10 +617,10 @@ CREATE TABLE %s (
dependent_message_set
=
dependency_value_dict
[
row2key
(
row
)]
dependent_message_set
=
dependency_value_dict
[
row2key
(
row
)]
# queue blocked messages for processing in the beginning of next
# queue blocked messages for processing in the beginning of next
# outermost iteration.
# outermost iteration.
new_blocked_message_set
.
update
(
dependent_message_set
)
new_blocked_message_set
|=
dependent_message_set
# ...but update result immediately, in case there is no next
# ...but update result immediately, in case there is no next
# outermost iteration.
# outermost iteration.
result
.
difference_update
(
dependent_message_set
)
result
-=
dependent_message_set
del
subquery_list
[
_MAX_DEPENDENCY_UNION_SUBQUERY_COUNT
:]
del
subquery_list
[
_MAX_DEPENDENCY_UNION_SUBQUERY_COUNT
:]
dependency_value_dict
.
clear
()
dependency_value_dict
.
clear
()
return
result
return
result
...
...
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