deprecation of krb_login

Fixes: https://pagure.io/koji/issue/1906
This commit is contained in:
Tomas Kopecek 2020-02-05 15:16:39 +01:00
parent fa55182571
commit 72b4c0c3e2

View file

@ -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):