mirror of
https://github.com/zulip/zulip.git
synced 2025-11-17 12:21:58 +00:00
python: Tweak some magic trailing commas to avoid Black bugs.
https://github.com/psf/black/issues/1658 https://github.com/psf/black/issues/1671 Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
committed by
Tim Abbott
parent
f91d287447
commit
3b301f522b
@@ -1201,7 +1201,7 @@ def get_recipient_info(recipient: Recipient,
|
||||
|
||||
if user_ids:
|
||||
query = UserProfile.objects.filter(
|
||||
is_active=True,
|
||||
is_active=True
|
||||
).values(
|
||||
'id',
|
||||
'enable_online_push_notifications',
|
||||
@@ -4101,7 +4101,7 @@ def do_mark_all_as_read(user_profile: UserProfile, client: Client) -> int:
|
||||
do_clear_mobile_push_notifications_for_ids([user_profile.id], all_push_message_ids)
|
||||
|
||||
msgs = UserMessage.objects.filter(
|
||||
user_profile=user_profile,
|
||||
user_profile=user_profile
|
||||
).extra(
|
||||
where=[UserMessage.where_unread()],
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user