From 61210be170acb90745ae3d7876d781e582376f6a Mon Sep 17 00:00:00 2001 From: Ralph Bean Date: Wed, 8 Nov 2017 20:52:09 +0000 Subject: [PATCH] Retrieve only the correct branches for a given package. --- roles/distgit/pagure/templates/pagure-sync-bugzilla.py.j2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roles/distgit/pagure/templates/pagure-sync-bugzilla.py.j2 b/roles/distgit/pagure/templates/pagure-sync-bugzilla.py.j2 index a791e9e756..081eb03ce7 100644 --- a/roles/distgit/pagure/templates/pagure-sync-bugzilla.py.j2 +++ b/roles/distgit/pagure/templates/pagure-sync-bugzilla.py.j2 @@ -604,7 +604,7 @@ def _get_pdc_project_name_and_branches(session, namespace, repo): ) if DRY_RUN: print('Querying {0} {1}'.format(branches_url, params)) - rv = session.get(branches_url, timeout=60) + rv = session.get(branches_url, params=params, timeout=60) # If the project's branches can't be reported, just return no branches and # it will be skipped later on