mirror of
https://github.com/zulip/zulip.git
synced 2025-11-13 10:26:28 +00:00
ruff: Fix RUF059 Unpacked variable is never used.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
committed by
Tim Abbott
parent
fa4d680851
commit
f24a0a6b81
@@ -4134,12 +4134,12 @@ class RealmBillingSession(BillingSession):
|
||||
if stripe_customer_id is not None:
|
||||
# Support requests do not set any stripe billing information.
|
||||
assert self.support_session is False
|
||||
customer, created = Customer.objects.update_or_create(
|
||||
customer, _created = Customer.objects.update_or_create(
|
||||
realm=self.realm, defaults={"stripe_customer_id": stripe_customer_id}
|
||||
)
|
||||
return customer
|
||||
else:
|
||||
customer, created = Customer.objects.update_or_create(
|
||||
customer, _created = Customer.objects.update_or_create(
|
||||
realm=self.realm, defaults=defaults
|
||||
)
|
||||
return customer
|
||||
|
||||
Reference in New Issue
Block a user