From e28b7a80c8e7b59d610607a8b0dd8c102bb086de Mon Sep 17 00:00:00 2001 From: Mike McLean Date: May 03 2018 20:05:16 +0000 Subject: avoid passing a set as a callback param --- diff --git a/hub/kojihub.py b/hub/kojihub.py index 31622d5..d1ba9bf 100644 --- a/hub/kojihub.py +++ b/hub/kojihub.py @@ -2470,7 +2470,7 @@ def dist_repo_init(tag, keys, task_opts): tinfo = get_tag(tag, strict=True) tag_id = tinfo['id'] event = task_opts.get('event') - arches = set([koji.canonArch(a) for a in task_opts['arch']]) + arches = list(set([koji.canonArch(a) for a in task_opts['arch']])) # note: we need to match args from the other preRepoInit callback koji.plugin.run_callbacks('preRepoInit', tag=tinfo, with_src=False, with_debuginfo=False, event=event, repo_id=None,