mirror of https://github.com/zulip/zulip.git
populate_billing_realms: Fix PLW0127 Self-assignment of variable.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
parent
acbe843b09
commit
ebee57813c
|
@ -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(
|
||||
|
|
Loading…
Reference in New Issue