populate_billing_realms: Fix PLW0127 Self-assignment of variable.

Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
Anders Kaseorg 2023-12-05 10:49:30 -08:00 committed by Anders Kaseorg
parent acbe843b09
commit ebee57813c
1 changed files with 1 additions and 1 deletions

View File

@ -304,7 +304,7 @@ def populate_remote_server(customer_profile: CustomerProfile) -> Dict[str, str]:
if customer_profile.tier == CustomerPlan.TIER_SELF_HOSTED_LEGACY:
# Create customer plan for these servers for temporary period.
billing_session = RemoteServerBillingSession(remote_server)
renewal_date = renewal_date = datetime.datetime.strptime(
renewal_date = datetime.datetime.strptime(
customer_profile.renewal_date, TIMESTAMP_FORMAT
).replace(tzinfo=datetime.timezone.utc)
end_date = datetime.datetime.strptime(customer_profile.end_date, TIMESTAMP_FORMAT).replace(