mirror of
https://github.com/zulip/zulip.git
synced 2025-11-11 09:27:43 +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
@@ -774,7 +774,7 @@ def do_update_message(
|
||||
)
|
||||
subscriber_ids = set(subscriptions.values_list("user_profile_id", flat=True))
|
||||
|
||||
users_to_be_notified += list(map(subscriber_info, sorted(subscriber_ids)))
|
||||
users_to_be_notified += map(subscriber_info, sorted(subscriber_ids))
|
||||
|
||||
# UserTopic updates and the content of notifications depend on
|
||||
# whether we've moved the entire topic, or just part of it. We
|
||||
|
||||
Reference in New Issue
Block a user