diff options
author | David Tardon <dtardon@redhat.com> | 2013-12-07 16:35:23 +0100 |
---|---|---|
committer | David Tardon <dtardon@redhat.com> | 2013-12-07 16:37:04 +0100 |
commit | da97677684049b5b7fa2e5f737f66269f16d5b3e (patch) | |
tree | d9a24b47e7488bdc57da913b5abcdb9e4d8b3eb0 /bin/get-bugzilla-attachments-by-mimetype | |
parent | put bz URLs into a list to avoid repeated code (diff) | |
download | core-da97677684049b5b7fa2e5f737f66269f16d5b3e.tar.gz core-da97677684049b5b7fa2e5f737f66269f16d5b3e.zip |
print bug count in rss query too
Change-Id: I9542771fe3caf77757d81641752ab5463ead4deb
Diffstat (limited to 'bin/get-bugzilla-attachments-by-mimetype')
-rwxr-xr-x | bin/get-bugzilla-attachments-by-mimetype | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/bin/get-bugzilla-attachments-by-mimetype b/bin/get-bugzilla-attachments-by-mimetype index 1d8ee8bca571..4aed0e65ade8 100755 --- a/bin/get-bugzilla-attachments-by-mimetype +++ b/bin/get-bugzilla-attachments-by-mimetype @@ -204,6 +204,7 @@ def get_through_rss_query(queryurl, mimetype, prefix, suffix): url = queryurl + '?' + '&'.join(['='.join(kv) for kv in query.iteritems()]) print('url is ' + url) d = feedparser.parse(url) + print(str(len(d['entries'])) + ' bugs to process') if full: available = set([str(entry['id'].split('=')[-1]) for entry in d['entries']]) |