From ba0d0664a8a09eaee1c7aa056f3fe6b8a071b225 Mon Sep 17 00:00:00 2001 From: Iain Lane Date: Mon, 15 Jun 2009 19:58:41 +0100 Subject: [PATCH] requestsync: We need to use the output from madison, not just throw it away. --- debian/changelog | 6 +++++- requestsync | 3 ++- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/debian/changelog b/debian/changelog index af7db05..70cc978 100644 --- a/debian/changelog +++ b/debian/changelog @@ -45,7 +45,11 @@ ubuntu-dev-tools (0.75) UNRELEASED; urgency=low * lp-set-dup: Add missing % needed for string substitution. Thanks to Robert Ancell for the fix. - -- Michael Bienia Tue, 09 Jun 2009 10:31:03 +0200 + [ Iain Lane ] + * requestsync: We need to use the output from madison, not just throw it + away. + + -- Iain Lane Mon, 15 Jun 2009 19:17:51 +0100 ubuntu-dev-tools (0.74) karmic; urgency=low diff --git a/requestsync b/requestsync index 71ed56b..edccefa 100755 --- a/requestsync +++ b/requestsync @@ -134,7 +134,8 @@ def cur_version_component(sourcepkg, release): def cur_deb_version(sourcepkg, distro): '''Return the current debian version of a package in a Debian distro.''' - if not ubuntutools.packages.checkIsInDebian(sourcepkg, distro): + out = ubuntutools.packages.checkIsInDebian(sourcepkg, distro) + if not out: print "%s doesn't appear to exist in Debian." % sourcepkg sys.exit(0)