summaryrefslogtreecommitdiffstats
path: root/roles/distgit
diff options
context:
space:
mode:
authormprahl <mprahl@redhat.com>2017-08-14 21:17:13 +0000
committermprahl <mprahl@redhat.com>2017-08-14 21:17:13 +0000
commit55496a0a9c5b1a4a2b20b58ea7457fb4012e47da (patch)
tree83c29a28f31857207ee0b4352d5fb6828c0db850 /roles/distgit
parent002c50711fa9ba9e99612e174dd8a33fe7470b63 (diff)
downloadansible-55496a0a9c5b1a4a2b20b58ea7457fb4012e47da.tar.gz
ansible-55496a0a9c5b1a4a2b20b58ea7457fb4012e47da.tar.xz
ansible-55496a0a9c5b1a4a2b20b58ea7457fb4012e47da.zip
Query MDAPI when the project is an RPM in pagure-sync-bugzilla.py
Signed-off-by: mprahl <mprahl@redhat.com>
Diffstat (limited to 'roles/distgit')
-rw-r--r--roles/distgit/pagure/templates/pagure-sync-bugzilla.py.j22
1 files changed, 1 insertions, 1 deletions
diff --git a/roles/distgit/pagure/templates/pagure-sync-bugzilla.py.j2 b/roles/distgit/pagure/templates/pagure-sync-bugzilla.py.j2
index d5c46ef7f..d424befbc 100644
--- a/roles/distgit/pagure/templates/pagure-sync-bugzilla.py.j2
+++ b/roles/distgit/pagure/templates/pagure-sync-bugzilla.py.j2
@@ -504,7 +504,7 @@ def pagure_project_to_acl_schema(pagure_project, product):
user_cc_list.append(user)
summary = None
- if pagure_project['namespace'] != 'rpms':
+ if pagure_project['namespace'] == 'rpms':
mdapi_url = '{0}/rawhide/srcpkg/{1}'.format(
MDAPIURL.rstrip('/'), pagure_project['name'])
if DRY_RUN: