From 1c698ff6269bda51ff36e39bcf15d0c3a35481c1 Mon Sep 17 00:00:00 2001 From: Stefano Rivera Date: Mon, 22 Oct 2012 22:09:31 +0200 Subject: [PATCH] While we're there, Updates is derived from Proposed --- ubuntutools/requestsync/lp.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ubuntutools/requestsync/lp.py b/ubuntutools/requestsync/lp.py index 019efdf..ee34eb4 100644 --- a/ubuntutools/requestsync/lp.py +++ b/ubuntutools/requestsync/lp.py @@ -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