From 2f6c1f228ed82c0a1035eb6859119eadb852f95c Mon Sep 17 00:00:00 2001 From: Tomas Kopecek Date: Tue, 15 Dec 2020 14:29:55 +0100 Subject: [PATCH] hub: fix py2-like 'stop' usage in getFullInheritance Fixes: https://pagure.io/koji/issue/2602 --- hub/kojihub.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hub/kojihub.py b/hub/kojihub.py index 1def7582..f13d0719 100644 --- a/hub/kojihub.py +++ b/hub/kojihub.py @@ -11484,7 +11484,7 @@ class RootExports(object): # lookup tag id tag = get_tag_id(tag, strict=True) for mapping in [stops, jumps]: - for key in mapping.keys(): + for key in list(mapping.keys()): mapping[int(key)] = mapping[key] return readFullInheritance(tag, event, reverse, stops, jumps)