summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDan HorĂ¡k <dan@danny.cz>2010-11-15 21:51:23 +0100
committerJesse Keating <jkeating@redhat.com>2010-12-01 11:55:39 -0800
commited0602f60db6084d9bb7de91fab4ff52e894dfd5 (patch)
tree0ee76ae6f6e48ae07404a753677aa8ee8ce76a25
parentcd3e56bc505a35a71d324a656eb133586a30c59b (diff)
downloadfedora-packager-ed0602f60db6084d9bb7de91fab4ff52e894dfd5.zip
fedora-packager-ed0602f60db6084d9bb7de91fab4ff52e894dfd5.tar.gz
fedora-packager-ed0602f60db6084d9bb7de91fab4ff52e894dfd5.tar.xz
print filename of downloaded source
When the "sources" target is run, then curl prints some statistics during the download of the missing file, but it doesn't print the filename that gets downloaded.
-rw-r--r--src/pyfedpkg/__init__.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/pyfedpkg/__init__.py b/src/pyfedpkg/__init__.py
index d2783d6..237eb58 100644
--- a/src/pyfedpkg/__init__.py
+++ b/src/pyfedpkg/__init__.py
@@ -752,6 +752,7 @@ def sources(path, outdir=None):
if os.path.exists(outfile):
if _verify_file(outfile, csum, LOOKASIDEHASH):
continue
+ log.info("Downloading %s" % (file))
url = '%s/%s/%s/%s/%s' % (LOOKASIDE, module, file, csum,
file)
# There is some code here for using pycurl, but for now,