mirror of
https://github.com/zulip/zulip.git
synced 2025-11-17 20:41:46 +00:00
ruff: Fix SIM910 Use .get(key) instead of .get(key, None).
Signed-off-by: Anders Kaseorg <anders@zulip.com>
(cherry picked from commit 10271fb850)
This commit is contained in:
committed by
Tim Abbott
parent
5fcf72a645
commit
9a38328617
@@ -628,7 +628,7 @@ class StripeTestCase(ZulipTestCase):
|
|||||||
license_management="automatic",
|
license_management="automatic",
|
||||||
)
|
)
|
||||||
|
|
||||||
remote_server_plan_start_date = kwargs.get("remote_server_plan_start_date", None)
|
remote_server_plan_start_date = kwargs.get("remote_server_plan_start_date")
|
||||||
if remote_server_plan_start_date:
|
if remote_server_plan_start_date:
|
||||||
params.update(
|
params.update(
|
||||||
remote_server_plan_start_date=remote_server_plan_start_date,
|
remote_server_plan_start_date=remote_server_plan_start_date,
|
||||||
|
|||||||
@@ -1893,7 +1893,7 @@ Output:
|
|||||||
user_notifications_data=user_notifications_data,
|
user_notifications_data=user_notifications_data,
|
||||||
message_id=message_id,
|
message_id=message_id,
|
||||||
acting_user_id=acting_user_id,
|
acting_user_id=acting_user_id,
|
||||||
mentioned_user_group_id=kwargs.get("mentioned_user_group_id", None),
|
mentioned_user_group_id=kwargs.get("mentioned_user_group_id"),
|
||||||
idle=kwargs.get("idle", True),
|
idle=kwargs.get("idle", True),
|
||||||
already_notified=kwargs.get(
|
already_notified=kwargs.get(
|
||||||
"already_notified", {"email_notified": False, "push_notified": False}
|
"already_notified", {"email_notified": False, "push_notified": False}
|
||||||
|
|||||||
Reference in New Issue
Block a user