PR#2407: hub: deprecate getGlobalInheritance

Merges #2407
https://pagure.io/koji/pull-request/2407

Fixes: #2240
https://pagure.io/koji/issue/2240
Deprecate getGlobalInheritance
This commit is contained in:
Tomas Kopecek 2020-08-27 13:38:45 +02:00
commit f63eefef60

View file

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