mirror of
https://git.launchpad.net/ubuntu-dev-tools
synced 2025-03-16 01:21:07 +00:00
* requestsync: use getSourcePackage() instead of loading the package-object
directly
This commit is contained in:
parent
4845fcea2d
commit
59e7037ed8
@ -105,7 +105,7 @@ def checkExistingReports(package):
|
|||||||
return False
|
return False
|
||||||
|
|
||||||
# Fetch the package's bug list from Launchpad.
|
# Fetch the package's bug list from Launchpad.
|
||||||
pkg = launchpad.load("%subuntu/+source/%s" %(launchpad._root_uri, package))
|
pkg = launchpad.distributions["ubuntu"].getSourcePackage(name=package)
|
||||||
pkgBugList = pkg.searchTasks()
|
pkgBugList = pkg.searchTasks()
|
||||||
|
|
||||||
# Search bug list for other sync requests.
|
# Search bug list for other sync requests.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user