From 98a86c87be6d04fabeb75b2644b9a9f801b639c8 Mon Sep 17 00:00:00 2001 From: Tomas Kopecek Date: Feb 19 2020 13:15:25 +0000 Subject: PR#1992: deprecation of krb_login Merges #1992 https://pagure.io/koji/pull-request/1992 Fixes: #1906 https://pagure.io/koji/issue/1906 Deprecate/drop non-gssapi code --- 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):