mirror of
https://git.launchpad.net/ubuntu-dev-tools
synced 2025-05-13 09:51:30 +00:00
ubuntutools.archive: Display any errors rmadison emits, rather than
guessing at the cause. (LP: #788447)
This commit is contained in:
parent
c13550bcb6
commit
1c248875b4
5
debian/changelog
vendored
5
debian/changelog
vendored
@ -1,9 +1,14 @@
|
|||||||
ubuntu-dev-tools (0.125) UNRELEASED; urgency=low
|
ubuntu-dev-tools (0.125) UNRELEASED; urgency=low
|
||||||
|
|
||||||
|
[ Benjamin Drung ]
|
||||||
* backportpackage: Use --force-bad-version instead of --allow-lower-version
|
* backportpackage: Use --force-bad-version instead of --allow-lower-version
|
||||||
(which requires a parameter) for debchange.
|
(which requires a parameter) for debchange.
|
||||||
* Adjust EOL date of Ubuntu 9.10 "Karmic Koala".
|
* Adjust EOL date of Ubuntu 9.10 "Karmic Koala".
|
||||||
|
|
||||||
|
[ Stefano Rivera ]
|
||||||
|
* ubuntutools.archive: Display any errors rmadison emits, rather than
|
||||||
|
guessing at the cause. (LP: #788447)
|
||||||
|
|
||||||
-- Benjamin Drung <bdrung@debian.org> Sat, 28 May 2011 19:43:10 +0200
|
-- Benjamin Drung <bdrung@debian.org> Sat, 28 May 2011 19:43:10 +0200
|
||||||
|
|
||||||
ubuntu-dev-tools (0.124) unstable; urgency=low
|
ubuntu-dev-tools (0.124) unstable; urgency=low
|
||||||
|
@ -519,11 +519,14 @@ def rmadison(url, package, suite=None, arch=None):
|
|||||||
cmd.append(package)
|
cmd.append(package)
|
||||||
process = subprocess.Popen(cmd, stdout=subprocess.PIPE,
|
process = subprocess.Popen(cmd, stdout=subprocess.PIPE,
|
||||||
stderr=subprocess.PIPE, close_fds=True)
|
stderr=subprocess.PIPE, close_fds=True)
|
||||||
output = process.communicate()[0]
|
output, error_output = process.communicate()
|
||||||
try:
|
try:
|
||||||
assert process.wait() == 0
|
assert process.wait() == 0
|
||||||
except AssertionError:
|
except AssertionError:
|
||||||
print "Request failed: install the liburi-perl package and try again."
|
if error_output:
|
||||||
|
Logger.error('rmadison failed with: %s', error_output)
|
||||||
|
sys.exit(1)
|
||||||
|
raise
|
||||||
|
|
||||||
# rmadison uses some shorthand
|
# rmadison uses some shorthand
|
||||||
if suite:
|
if suite:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user