From f07c0f8ccb55c0b86dd77559338fd9241062e9ee Mon Sep 17 00:00:00 2001 From: Dmitrijs Ledkovs Date: Tue, 22 Oct 2013 17:04:15 +0100 Subject: [PATCH] Since Britney migration was introduced in Ubuntu, automatic syncing is always done from unstable. --- debian/changelog | 7 +++++++ syncpackage | 10 +--------- 2 files changed, 8 insertions(+), 9 deletions(-) diff --git a/debian/changelog b/debian/changelog index 567ca1a..02a4b6a 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,10 @@ +ubuntu-dev-tools (0.151) UNRELEASED; urgency=low + + * Since Britney migration was introduced in Ubuntu, automatic syncing is + always done from unstable. + + -- Dmitrijs Ledkovs Tue, 22 Oct 2013 17:02:41 +0100 + ubuntu-dev-tools (0.150) unstable; urgency=low [ Brian Murray ] diff --git a/syncpackage b/syncpackage index 02a8c3b..f1b4ee2 100755 --- a/syncpackage +++ b/syncpackage @@ -294,15 +294,7 @@ def fetch_source_pkg(package, dist, version, component, ubuntu_release, return DebianSourcePackage(dscfile=package, mirrors=mirrors) if dist is None: - ubu_info = UbuntuDistroInfo() - try: - if ubu_info.is_lts(ubu_info.devel()): - dist = 'testing' - else: - dist = 'unstable' - except DistroDataOutdated, e: - Logger.warn(e) - dist = 'unstable' + dist = 'unstable' requested_version = version if type(version) == str: