[ Julian Taylor ]

requestsync: omit dups when checking for duplicate requests (LP: #842217)
This commit is contained in:
Julian Taylor 2011-09-06 09:34:42 +02:00 committed by Stefano Rivera
commit b314aa599c
2 changed files with 7 additions and 2 deletions

5
debian/changelog vendored
View File

@ -27,7 +27,10 @@ ubuntu-dev-tools (0.129) UNRELEASED; urgency=low
* get-build-deps: Tell aptitude not to follow Recommends (LP: #817500)
* doc/requestsync.1: Document the -C option (LP: #833408)
-- Stefano Rivera <stefanor@debian.org> Sat, 03 Sep 2011 21:04:38 +0200
[ Julian Taylor ]
* requestsync: omit dups when checking for duplicate requests (LP: #842217)
-- Julian Taylor <jtaylor.debian@googlemail.com> Tue, 06 Sep 2011 01:11:35 +0200
ubuntu-dev-tools (0.128) unstable; urgency=low

View File

@ -69,7 +69,9 @@ def checkExistingReports(srcpkg):
# Fetch the package's bug list from Launchpad
pkg = Distribution('ubuntu').getSourcePackage(name = srcpkg)
pkgBugList = pkg.getBugTasks()
pkgBugList = pkg.searchTasks(status=["Incomplete", "New", "Confirmed",
"Triaged", "In Progress", "Fix Committed"],
omit_duplicates=True)
# Search bug list for other sync requests.
for bug in pkgBugList: