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:
commit
f63eefef60
1 changed files with 1 additions and 0 deletions
|
|
@ -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')
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue