diff options
author | Dan HorĂ¡k <dan@danny.cz> | 2010-11-15 21:51:23 +0100 |
---|---|---|
committer | Jesse Keating <jkeating@redhat.com> | 2010-12-01 11:55:39 -0800 |
commit | ed0602f60db6084d9bb7de91fab4ff52e894dfd5 (patch) | |
tree | 0ee76ae6f6e48ae07404a753677aa8ee8ce76a25 /src/pyfedpkg/__init__.py | |
parent | cd3e56bc505a35a71d324a656eb133586a30c59b (diff) | |
download | fedora-packager-ed0602f60db6084d9bb7de91fab4ff52e894dfd5.tar.gz fedora-packager-ed0602f60db6084d9bb7de91fab4ff52e894dfd5.tar.xz fedora-packager-ed0602f60db6084d9bb7de91fab4ff52e894dfd5.zip |
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.
Diffstat (limited to 'src/pyfedpkg/__init__.py')
-rw-r--r-- | src/pyfedpkg/__init__.py | 1 |
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, |