diff options
| author | Kevin Fenzi <kevin@scrye.com> | 2017-06-15 19:01:26 +0000 |
|---|---|---|
| committer | Kevin Fenzi <kevin@scrye.com> | 2017-06-15 19:01:26 +0000 |
| commit | 3f5f58bd0ad322b310490467ec26cc20f89d889f (patch) | |
| tree | fe4c0370b82cdb50b5f0f9c98f1e07134769927f /roles/easyfix | |
| parent | f6ad086ae788b77fe22a330bf7a63cff79955c86 (diff) | |
| download | ansible-3f5f58bd0ad322b310490467ec26cc20f89d889f.tar.gz ansible-3f5f58bd0ad322b310490467ec26cc20f89d889f.tar.xz ansible-3f5f58bd0ad322b310490467ec26cc20f89d889f.zip | |
update gather-easyfix script to only get Open items
Diffstat (limited to 'roles/easyfix')
| -rwxr-xr-x | roles/easyfix/gather/templates/gather_easyfix.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/roles/easyfix/gather/templates/gather_easyfix.py b/roles/easyfix/gather/templates/gather_easyfix.py index 13c1d4d58..d0074282a 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) |
