From ed0602f60db6084d9bb7de91fab4ff52e894dfd5 Mon Sep 17 00:00:00 2001 From: Dan HorĂ¡k Date: Mon, 15 Nov 2010 21:51:23 +0100 Subject: 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. --- src/pyfedpkg/__init__.py | 1 + 1 file changed, 1 insertion(+) (limited to 'src') 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, -- cgit