mirror of
https://git.centos.org/centos/centpkg.git
synced 2025-02-23 08:12:55 +00:00
Renaming the deprecated method 'warn'.
This commit is contained in:
parent
b1082eeeb0
commit
d8635c63c2
1 changed files with 1 additions and 1 deletions
|
@ -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."
|
||||
)
|
||||
|
|
Loading…
Add table
Reference in a new issue