From b6cc0d0b880881f0e117c6e68ade532a91d68e2b Mon Sep 17 00:00:00 2001 From: Mike McLean Date: May 02 2019 12:32:19 +0000 Subject: fix mapping iteration in getFullInheritance Fixes: https://pagure.io/koji/issue/1405 --- diff --git a/hub/kojihub.py b/hub/kojihub.py index cad7ce5..c305ddc 100644 --- a/hub/kojihub.py +++ b/hub/kojihub.py @@ -10117,7 +10117,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 to_list(mapping.keys()): mapping[int(key)] = mapping[key] return readFullInheritance(tag, event, reverse, stops, jumps)