mirror of
https://git.launchpad.net/ubuntu-dev-tools
synced 2025-03-12 23:51:08 +00:00
buildd: And support different releases with API too.
This commit is contained in:
parent
ed15916481
commit
78b7833ea9
3
buildd
3
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()
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user