* Always pass -u option to rmadison now that it defaults to ubuntu

This commit is contained in:
Laurent Bigonville 2007-11-15 21:12:38 +01:00
parent 842cf6e00c
commit ba5efa0230
2 changed files with 6 additions and 2 deletions

6
debian/changelog vendored
View File

@ -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 <themuso@ubuntu.com> Thu, 15 Nov 2007 22:31:42 +1100
[ Laurent Bigonville ]
* Always pass -u option to rmadison now that it defaults to ubuntu
-- Laurent Bigonville <bigon@ubuntu.com> Thu, 15 Nov 2007 21:09:38 +0100
ubuntu-dev-tools (0.21) hardy; urgency=low

View File

@ -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)