While we're there, Updates is derived from Proposed

This commit is contained in:
Stefano Rivera 2012-10-22 22:09:31 +02:00
parent 24e1161d3c
commit 1c698ff626

View File

@ -53,7 +53,10 @@ def get_ubuntu_srcpkg(name, release, pocket='Release'):
return ubuntu_archive.getSourcePackage(name, release, pocket)
except udtexceptions.PackageNotFoundException:
if pocket != 'Release':
return get_ubuntu_srcpkg(name, release, 'Release')
parent_pocket = 'Release'
if pocket == 'Updates':
parent_pocket = 'Proposed'
return get_ubuntu_srcpkg(name, release, parent_pocket)
raise