mirror of
https://github.com/chatmail/core.git
synced 2026-04-18 22:16:30 +03:00
python: upgrade from .format() to f-strings
They are supported since Python 3.5.
This commit is contained in:
@@ -38,7 +38,7 @@ class ImexTracker:
|
||||
if isinstance(ev, str):
|
||||
files_written.append(ev)
|
||||
elif ev == 0:
|
||||
raise ImexFailed("export failed, exp-files: {}".format(files_written))
|
||||
raise ImexFailed(f"export failed, exp-files: {files_written}")
|
||||
elif ev == 1000:
|
||||
return files_written
|
||||
|
||||
|
||||
Reference in New Issue
Block a user