From 3f5f58bd0ad322b310490467ec26cc20f89d889f Mon Sep 17 00:00:00 2001 From: Kevin Fenzi Date: Thu, 15 Jun 2017 19:01:26 +0000 Subject: [PATCH] update gather-easyfix script to only get Open items --- roles/easyfix/gather/templates/gather_easyfix.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/roles/easyfix/gather/templates/gather_easyfix.py b/roles/easyfix/gather/templates/gather_easyfix.py index 13c1d4d589..d0074282a8 100755 --- a/roles/easyfix/gather/templates/gather_easyfix.py +++ b/roles/easyfix/gather/templates/gather_easyfix.py @@ -232,8 +232,8 @@ def main(): project.name = project.name.split('pagure.io:')[1] project.url = 'https://pagure.io/%s/' % (project.name) project.site = 'pagure.io' - url = 'https://pagure.io/api/0/%s/issues?tags=%s' % ( - project.name, project.tag) + url = 'https://pagure.io/api/0/%s/issues' \ + '?status=Open&tags=%s' % (project.name, project.tag) stream = urllib2.urlopen(url) output = stream.read() jsonobj = json.loads(output)