mirror of
https://github.com/zulip/zulip.git
synced 2025-11-14 02:48:00 +00:00
python: Elide unnecessary list wrappers.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
committed by
Tim Abbott
parent
eff0a73925
commit
2665a3ce2b
@@ -224,7 +224,7 @@ def do_clear_mobile_push_notifications_for_ids(
|
||||
assert len(user_profile_ids) == 1 or len(message_ids) == 1
|
||||
|
||||
messages_by_user = defaultdict(list)
|
||||
notifications_to_update = list(
|
||||
notifications_to_update = (
|
||||
UserMessage.objects.filter(
|
||||
message_id__in=message_ids,
|
||||
user_profile_id__in=user_profile_ids,
|
||||
|
||||
Reference in New Issue
Block a user