From d8635c63c295176b2693b7beec297b15f36963d1 Mon Sep 17 00:00:00 2001 From: Ondrej Nosek Date: Nov 13 2024 09:08:51 +0000 Subject: Renaming the deprecated method 'warn'. --- 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." )