diff --git a/src/centpkg/__init__.py b/src/centpkg/__init__.py index 1de8b59..185ab54 100644 --- a/src/centpkg/__init__.py +++ b/src/centpkg/__init__.py @@ -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." )