From 17ea793a94276cceaef64cb9437afa98fb26fc37 Mon Sep 17 00:00:00 2001 From: Benjamin Drung Date: Thu, 25 Nov 2010 23:49:39 +0100 Subject: [PATCH] syncpackage: Fix error message for failed downloads. --- debian/changelog | 3 ++- syncpackage | 4 ++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/debian/changelog b/debian/changelog index a2a0872..2098eae 100644 --- a/debian/changelog +++ b/debian/changelog @@ -15,8 +15,9 @@ ubuntu-dev-tools (0.107) UNRELEASED; urgency=low [ Benjamin Drung ] * wrap-and-sort: Remove duplicate items from sorted lists. + * syncpackage: Fix error message for failed downloads. - -- Stefano Rivera Wed, 24 Nov 2010 22:12:57 +0200 + -- Benjamin Drung Thu, 25 Nov 2010 23:48:55 +0100 ubuntu-dev-tools (0.106) experimental; urgency=low diff --git a/syncpackage b/syncpackage index ebeaa16..8e67595 100755 --- a/syncpackage +++ b/syncpackage @@ -231,7 +231,7 @@ def sync_dsc(script_name, dscurl, debian_dist, release, name, email, bugs, files))) print '%s: D: Source files: %s' % (script_name, 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: 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 if len(fakesync_files) > 0: # 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 directory = srcpkg + '-' + new_ver.upstream_version