From ba5efa0230bd0d4b0931f1723db43d2ebc5558ad Mon Sep 17 00:00:00 2001 From: Laurent Bigonville Date: Thu, 15 Nov 2007 21:12:38 +0100 Subject: [PATCH] * Always pass -u option to rmadison now that it defaults to ubuntu --- debian/changelog | 6 +++++- requestsync | 2 +- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/debian/changelog b/debian/changelog index f1f51f7..491c31d 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,5 +1,6 @@ ubuntu-dev-tools (0.22) UNRELEASED; urgency=low + [ Luke Yelavich ] * update-maintainer-field: - Use rmadison instead of apt-cache madison. - Added --nochangelog command-line argument. @@ -7,7 +8,10 @@ ubuntu-dev-tools (0.22) UNRELEASED; urgency=low - Reformatted usage information. - Some code cleanup. - -- Luke Yelavich Thu, 15 Nov 2007 22:31:42 +1100 + [ Laurent Bigonville ] + * Always pass -u option to rmadison now that it defaults to ubuntu + + -- Laurent Bigonville Thu, 15 Nov 2007 21:09:38 +0100 ubuntu-dev-tools (0.21) hardy; urgency=low diff --git a/requestsync b/requestsync index 24f4525..7605ef3 100755 --- a/requestsync +++ b/requestsync @@ -63,7 +63,7 @@ def debian_changelog(sourcepkg, component, version): def debian_component(sourcepkg): '''Return the Debian component for the source package.''' - madison = subprocess.Popen(['rmadison', '-a', 'source', '-s', 'unstable', \ + madison = subprocess.Popen(['rmadison', '-u', 'debian', '-a', 'source', '-s', 'unstable', \ sourcepkg], stdout=subprocess.PIPE) out = madison.communicate()[0] assert (madison.returncode == 0)