From 7382eabe4357afc3e26a0ea3e6ee9cdd3073f07f Mon Sep 17 00:00:00 2001 From: Carl George Date: Mon, 4 May 2020 23:48:22 -0500 Subject: [PATCH] Correct docstring about deleting inheritance rules The docstring for the setInheritanceData method states that a special "remove link" key set to True will remove an inheritance rule. The _writeInheritanceData function actually looks for a "delete link" key. The commit updates the docstring to reflect reality. --- hub/kojihub.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hub/kojihub.py b/hub/kojihub.py index 9ffd706d..0ff5445a 100644 --- a/hub/kojihub.py +++ b/hub/kojihub.py @@ -11329,7 +11329,7 @@ class RootExports(object): :param list data: Inheritance rules to set for this child tag. This is a list of rules (dicts) for parent tags and priorities. If any rule dict in the list has a - special "remove link": True key and value, Koji will + special "delete link": True key and value, Koji will remove this inheritance rule instead of adding it. :param bool clear: Wipe out all existing inheritance rules and only apply the ones you submit here. If unspecified,