syncpackage: Fix error message for failed downloads.

This commit is contained in:
Benjamin Drung 2010-11-25 23:49:39 +01:00
parent da237f41a9
commit 17ea793a94
2 changed files with 4 additions and 3 deletions

3
debian/changelog vendored
View File

@ -15,8 +15,9 @@ ubuntu-dev-tools (0.107) UNRELEASED; urgency=low
[ Benjamin Drung ] [ Benjamin Drung ]
* wrap-and-sort: Remove duplicate items from sorted lists. * wrap-and-sort: Remove duplicate items from sorted lists.
* syncpackage: Fix error message for failed downloads.
-- Stefano Rivera <stefanor@ubuntu.com> Wed, 24 Nov 2010 22:12:57 +0200 -- Benjamin Drung <bdrung@ubuntu.com> Thu, 25 Nov 2010 23:48:55 +0100
ubuntu-dev-tools (0.106) experimental; urgency=low ubuntu-dev-tools (0.106) experimental; urgency=low

View File

@ -231,7 +231,7 @@ def sync_dsc(script_name, dscurl, debian_dist, release, name, email, bugs,
files))) files)))
print '%s: D: Source files: %s' % (script_name, print '%s: D: Source files: %s' % (script_name,
str(map(lambda x: x.get_name(), source_files))) str(map(lambda x: x.get_name(), source_files)))
map(lambda f: f.download(verbose), files) map(lambda f: f.download(script_name, verbose), files)
if ubuntu_dsc is None: if ubuntu_dsc is None:
ubuntu_files = None ubuntu_files = None
@ -286,7 +286,7 @@ def sync_dsc(script_name, dscurl, debian_dist, release, name, email, bugs,
# Do a fake sync if required # Do a fake sync if required
if len(fakesync_files) > 0: if len(fakesync_files) > 0:
# Download Ubuntu files (override Debian source tarballs) # Download Ubuntu files (override Debian source tarballs)
map(lambda f: f.download(verbose), fakesync_files) map(lambda f: f.download(script_name, verbose), fakesync_files)
# change into package directory # change into package directory
directory = srcpkg + '-' + new_ver.upstream_version directory = srcpkg + '-' + new_ver.upstream_version