From a15b3ed86c22e7b65dde7b4e7a6d5c88c71a255e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Krystian=20Bac=C5=82awski?= Date: Tue, 18 Oct 2016 10:55:33 +0200 Subject: [PATCH] Add debug message for download function. --- common.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/common.py b/common.py index 91c700e..b960b76 100644 --- a/common.py +++ b/common.py @@ -229,6 +229,8 @@ def textfile(*lines): @fill_in_args def download(url, name): + info('download "%s" to "%s"', url, topdir(name)) + u = urllib2.urlopen(url) meta = u.info() try: