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
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Boris Kocherov
erp5
Commits
a7257c64
Commit
a7257c64
authored
Aug 14, 2013
by
Vincent Pelletier
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
CMFActivity.Activity.SQLDict: Drop single-use variable.
parent
936a8cea
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
2 deletions
+1
-2
product/CMFActivity/Activity/SQLDict.py
product/CMFActivity/Activity/SQLDict.py
+1
-2
No files found.
product/CMFActivity/Activity/SQLDict.py
View file @
a7257c64
...
@@ -105,8 +105,7 @@ class SQLDict(SQLBase):
...
@@ -105,8 +105,7 @@ class SQLDict(SQLBase):
if
message_id
in
uid_set
:
if
message_id
in
uid_set
:
return
return
uid_set
.
add
(
message_id
)
uid_set
.
add
(
message_id
)
message_list
=
activity_buffer
.
getMessageList
(
self
)
activity_buffer
.
getMessageList
(
self
).
append
(
m
)
message_list
.
append
(
m
)
m
.
is_registered
=
True
m
.
is_registered
=
True
def
unregisterMessage
(
self
,
activity_buffer
,
activity_tool
,
m
):
def
unregisterMessage
(
self
,
activity_buffer
,
activity_tool
,
m
):
...
...
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