From 78b7833ea9669da7397e99d5b168efb57bb66b46 Mon Sep 17 00:00:00 2001 From: Jonathan Davies Date: Thu, 28 May 2009 06:34:53 -0400 Subject: [PATCH] buildd: And support different releases with API too. --- buildd | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/buildd b/buildd index 87a9fbc..199f927 100755 --- a/buildd +++ b/buildd @@ -121,9 +121,10 @@ except ubuntutools.lp.udtexceptions.SeriesNotFoundException, e: ubuntuDist = lp_functions.getUbuntuDistribution() # Get main Ubuntu archive. archive = ubuntuDist.main_archive +release_series = lp_functions.doesUbuntuReleaseExist(release) # Get list of published sources for package in question. sources = archive.getPublishedSources(source_name = package, - status = 'Published') + status = 'Published', distro_series = release_series) # Get list of builds for that package. builds = sources[0].getBuilds()