mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
Merge branch 'fix/idf_tools_fstrings_v4.4' into 'release/v4.4'
Tools: Don't use f-string in idf_tools.py See merge request espressif/esp-idf!17990
This commit is contained in:
commit
e12b3c5644
@ -380,7 +380,7 @@ def rename_with_retry(path_from, path_to): # type: (str, str) -> None
|
||||
os.rename(path_from, path_to)
|
||||
return
|
||||
except OSError:
|
||||
msg = f'Rename {path_from} to {path_to} failed'
|
||||
msg = 'Rename {} to {} failed'.format(path_from, path_to)
|
||||
if retry == retry_count - 1:
|
||||
fatal(msg + '. Antivirus software might be causing this. Disabling it temporarily could solve the issue.')
|
||||
raise
|
||||
|
Loading…
Reference in New Issue
Block a user