diff --git a/src/rhsm/repofile.py b/src/rhsm/repofile.py index 83a36b1d51..7c6783cdb4 100644 --- a/src/rhsm/repofile.py +++ b/src/rhsm/repofile.py @@ -538,11 +538,11 @@ def fix_content(self, content): elif len(keyfiles) == 1: orcharhino_keyfile = keyfiles[0] else: - log.warn(f"Could not find pulp signing-key in {keypath}") + log.warning(f"Could not find pulp signing-key in {keypath}") if orcharhino_keyfile: apt_cont["Signed-By"] = orcharhino_keyfile else: - log.warn("No pulp signing-key file found!") + log.warning("No pulp signing-key file found!") return apt_cont