inconsistent results for IBugTarget.searchTasks(has_patch=...)
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Launchpad itself |
Triaged
|
Low
|
Unassigned |
Bug Description
sample launchpadlib script:
ubuntu = launchpad.
milestone = ubuntu.
print milestone.name
with_patch = milestone.
no_patch = milestone.
no_patch_set = set(x.self_link for x in no_patch)
with_patch_set = set(x.self_link for x in with_patch)
print "len no patch / set no patch", len(no_patch), len(no_patch_set)
print "len with patch / set with patch", len(with_patch), len(with_patch_set)
print "intersection no/with patch", no_patch_
The list with_patch contains some duplicate results; the intersection of with_patch_set and no_patch_set is not empty.
This inconsistency occurs too for calls of searchTasks(
Changed in malone: | |
assignee: | nobody → intellectronica |
summary: |
- inconsistent results for IBugTarget.serachTasks(has_patch=...) + inconsistent results for IBugTarget.searchTasks(has_patch=...) |
Changed in malone: | |
status: | New → Triaged |
importance: | Undecided → Low |
description: | updated |
Changed in malone: | |
assignee: | Tom Berger (intellectronica) → nobody |
tags: | added: api bug-search |