mirror of
https://git.launchpad.net/ubuntu-dev-tools
synced 2025-03-13 16:11:15 +00:00
requestsync: omit dups when checking for duplicate requests (LP: #842217)
This commit is contained in:
parent
328e7bb241
commit
36bc8ee0f7
5
debian/changelog
vendored
5
debian/changelog
vendored
@ -27,7 +27,10 @@ ubuntu-dev-tools (0.129) UNRELEASED; urgency=low
|
|||||||
* get-build-deps: Tell aptitude not to follow Recommends (LP: #817500)
|
* get-build-deps: Tell aptitude not to follow Recommends (LP: #817500)
|
||||||
* doc/requestsync.1: Document the -C option (LP: #833408)
|
* 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
|
ubuntu-dev-tools (0.128) unstable; urgency=low
|
||||||
|
|
||||||
|
@ -69,7 +69,8 @@ def checkExistingReports(srcpkg):
|
|||||||
|
|
||||||
# Fetch the package's bug list from Launchpad
|
# Fetch the package's bug list from Launchpad
|
||||||
pkg = Distribution('ubuntu').getSourcePackage(name = srcpkg)
|
pkg = Distribution('ubuntu').getSourcePackage(name = srcpkg)
|
||||||
pkgBugList = pkg.getBugTasks()
|
pkgBugList = pkg.searchTasks(status=["New", "Confirmed", "Triaged"],
|
||||||
|
omit_duplicates=True)
|
||||||
|
|
||||||
# Search bug list for other sync requests.
|
# Search bug list for other sync requests.
|
||||||
for bug in pkgBugList:
|
for bug in pkgBugList:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user