mirror of
https://github.com/zulip/zulip.git
synced 2025-11-19 05:58:25 +00:00
Fix a lint warning in notifications.py caught by newer pyflakes (0.9.1)
zerver/lib/notifications.py:353: list comprehension redefines 'msg' from line 336 (imported from commit 094a21616f8fe7ffe05719c6de6449ade5c43517)
This commit is contained in:
@@ -348,9 +348,9 @@ def handle_missedmessage_emails(user_profile_id, missed_email_events):
|
||||
)
|
||||
else:
|
||||
all_messages = [
|
||||
msg
|
||||
msg_
|
||||
for msg_list in messages_by_recipient_subject.values()
|
||||
for msg in msg_list
|
||||
for msg_ in msg_list
|
||||
]
|
||||
unique_messages = {m.id: m for m in all_messages}
|
||||
do_send_missedmessage_events(
|
||||
|
||||
Reference in New Issue
Block a user