From 65aacfb98b38efe578d3a9660bc4b69b1eb3b25f Mon Sep 17 00:00:00 2001 From: Ralph Bean Date: Fri, 18 Aug 2017 15:51:39 +0000 Subject: [PATCH] Make the correct comparison here to catch el6 vs dist-6E-epel --- roles/bodhi2/backend/templates/owner-sync-pagure.j2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roles/bodhi2/backend/templates/owner-sync-pagure.j2 b/roles/bodhi2/backend/templates/owner-sync-pagure.j2 index bb32864354..2eb0852ec3 100755 --- a/roles/bodhi2/backend/templates/owner-sync-pagure.j2 +++ b/roles/bodhi2/backend/templates/owner-sync-pagure.j2 @@ -386,7 +386,7 @@ if __name__ == '__main__': pkgs = [] for pkg, branches in namespace_to_projects[namespace].items(): # The tag and branch names are the same for "old-style" branches - if tag in branches or tag == ('f' + RAWHIDE): + if info['repo_name'] in branches or tag == ('f' + RAWHIDE): pkgs.append(pkg) # This is a special project, not in dist-git, but which needs to be in # the package list.