Renaming the deprecated method 'warn'.

This commit is contained in:
Ondrej Nosek 2024-11-13 01:50:44 +00:00 committed by Miro Hrončok
parent b1082eeeb0
commit d8635c63c2

View file

@ -247,7 +247,7 @@ class Commands(Commands):
except OSError as e:
self.log.debug("Cannot read spec.", exc_info=e)
if defined_patchn:
self.log.warn(
self.log.warning(
"centpkg defined %patchN compatibility shims to parse the spec file. "
"%patchN is obsolete, use %patch -P N instead."
)