mirror of https://github.com/zulip/zulip.git
ruff: Fix SIM910 Use `.get(key)` instead of `.get(key, None)`.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
parent
1cc9947786
commit
10271fb850
|
@ -650,7 +650,7 @@ class StripeTestCase(ZulipTestCase):
|
|||
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:
|
||||
params.update(
|
||||
remote_server_plan_start_date=remote_server_plan_start_date,
|
||||
|
|
|
@ -1894,7 +1894,7 @@ Output:
|
|||
user_notifications_data=user_notifications_data,
|
||||
message_id=message_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),
|
||||
already_notified=kwargs.get(
|
||||
"already_notified", {"email_notified": False, "push_notified": False}
|
||||
|
|
Loading…
Reference in New Issue