From 628bd30a836a400f41d591c0a81067cd7ef7bb26 Mon Sep 17 00:00:00 2001 From: Tomas Kopecek Date: Feb 05 2020 14:16:39 +0000 Subject: deprecation of krb_login Fixes: https://pagure.io/koji/issue/1906 --- diff --git a/koji/__init__.py b/koji/__init__.py index aa4371e..38f31fd 100644 --- a/koji/__init__.py +++ b/koji/__init__.py @@ -2305,6 +2305,7 @@ class ClientSession(object): the server side. ctx is the Kerberos context to use, and should be unique per thread. If ctx is not specified, the default context is used.""" + util.deprecated("Please use gssapi_login instead, krb_login will be removed in koji 1.22") try: # Silently try GSSAPI first if self.gssapi_login(principal, keytab, ccache, proxyuser=proxyuser):