From 68651d7caed8078c7103e84d7d35533ad84b5f66 Mon Sep 17 00:00:00 2001 From: Tomas Kopecek Date: Jul 28 2020 10:29:42 +0000 Subject: hub: deprecate getGlobalInheritance with final removal in 1.25 Fixes: https://pagure.io/koji/issue/2240 --- diff --git a/hub/kojihub.py b/hub/kojihub.py index 9f67b85..2bccc1a 100644 --- a/hub/kojihub.py +++ b/hub/kojihub.py @@ -631,6 +631,7 @@ def eventCondition(event, table=None): def readGlobalInheritance(event=None): + logger.warning("The getGlobalInheritance call is deprecated and will be removed in 1.25.") c = context.cnx.cursor() fields = ('tag_id', 'parent_id', 'name', 'priority', 'maxdepth', 'intransitive', 'noconfig', 'pkg_filter')