From 72b4c0c3e2401665b1123c37db6fe4f123927c36 Mon Sep 17 00:00:00 2001 From: Tomas Kopecek Date: Feb 19 2020 13:15:17 +0000 Subject: deprecation of krb_login Fixes: https://pagure.io/koji/issue/1906 --- diff --git a/koji/__init__.py b/koji/__init__.py index f7cf234..923d8a6 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):