mirror of
https://github.com/zulip/zulip.git
synced 2025-10-30 03:23:50 +00:00
ruff: Fix UP032 Use f-string instead of format call.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
committed by
Anders Kaseorg
parent
ff409342e1
commit
e932e2ce52
@@ -36,7 +36,7 @@ current_version = version.ZULIP_VERSION
|
||||
if is_invalid_upgrade(current_version, new_version):
|
||||
print(
|
||||
FAIL + "Your current version is very old. Please first upgrade to version "
|
||||
"1.4.3 and then upgrade to {}.".format(new_version) + ENDC
|
||||
f"1.4.3 and then upgrade to {new_version}." + ENDC
|
||||
)
|
||||
shutil.rmtree(extract_path)
|
||||
sys.exit(1)
|
||||
|
||||
Reference in New Issue
Block a user