Use logger.warning() to replace deprecated warn()

This commit is contained in:
taoky 2024-09-27 18:31:54 +08:00
parent 3a1b20541c
commit 4664c23ad5

View File

@ -772,7 +772,7 @@ class SyncBase:
return True
if dest_size == i_size:
return True
logger.warn(
logger.warning(
"file %s exists locally, but size does not match with upstream, so it would still be downloaded.",
dest,
)