mirror of
https://git.launchpad.net/ubuntu-dev-tools
synced 2025-05-12 09:21:29 +00:00
While we're there, Updates is derived from Proposed
This commit is contained in:
parent
24e1161d3c
commit
1c698ff626
@ -53,7 +53,10 @@ def get_ubuntu_srcpkg(name, release, pocket='Release'):
|
|||||||
return ubuntu_archive.getSourcePackage(name, release, pocket)
|
return ubuntu_archive.getSourcePackage(name, release, pocket)
|
||||||
except udtexceptions.PackageNotFoundException:
|
except udtexceptions.PackageNotFoundException:
|
||||||
if pocket != 'Release':
|
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
|
raise
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user