summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRalph Bean <rbean@redhat.com>2017-08-18 15:51:39 +0000
committerRalph Bean <rbean@redhat.com>2017-08-18 15:51:39 +0000
commit65aacfb98b38efe578d3a9660bc4b69b1eb3b25f (patch)
treebc38cc009c1c9873a6eb32bf220052e665bdc67c
parent358a9b1a8d168a8ee355dc89aa35dee849c4977a (diff)
downloadansible-65aacfb98b38efe578d3a9660bc4b69b1eb3b25f.tar.gz
ansible-65aacfb98b38efe578d3a9660bc4b69b1eb3b25f.tar.xz
ansible-65aacfb98b38efe578d3a9660bc4b69b1eb3b25f.zip
Make the correct comparison here to catch el6 vs dist-6E-epel
-rwxr-xr-xroles/bodhi2/backend/templates/owner-sync-pagure.j22
1 files changed, 1 insertions, 1 deletions
diff --git a/roles/bodhi2/backend/templates/owner-sync-pagure.j2 b/roles/bodhi2/backend/templates/owner-sync-pagure.j2
index bb3286435..2eb0852ec 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.