* requestsync: use the correct object to call getUbuntuDistribution

This commit is contained in:
Michael Bienia 2009-06-18 23:17:41 +02:00
parent 0684698c98
commit 47a2274264

View File

@ -96,7 +96,7 @@ def checkExistingReports(package):
return False
# Fetch the package's bug list from Launchpad.
pkg = launchpad.getUbuntuDistribution().getSourcePackage(name=package)
pkg = LpApiWrapper.getUbuntuDistribution().getSourcePackage(name=package)
pkgBugList = pkg.searchTasks()
# Search bug list for other sync requests.