~juju-qa/lp-release-manager-tools/trunk

« back to all changes in this revision

Viewing changes to lp_release_tools/pull_bugs.py

  • Committer: Curtis Hovey
  • Date: 2014-10-10 08:42:31 UTC
  • Revision ID: curtis@hovey.name-20141010084231-q3zabxkrk21b06n8
Always omit duplicates.

Show diffs side-by-side

added added

removed removed

Lines of Context:
157
157
    targets = get_targets(lp, project)
158
158
    search_params = dict(
159
159
        status=status, modified_since=modified_since, importance=importance,
160
 
        milestone=milestone, tags=tags, tags_combinator='All')
 
160
        milestone=milestone, tags=tags, tags_combinator='All',
 
161
        omit_duplicates=True)
161
162
    for target in targets:
162
 
        count = get_bug_data(target, all_bugs, search_params, private)
163
 
        print(count)
 
163
        get_bug_data(target, all_bugs, search_params, private)
164
164
    print(len(all_bugs))
165
165
    now = datetime.utcnow()
166
166
    json_source = {