Add debug message for download function.

This commit is contained in:
Krystian Bacławski 2016-10-18 10:55:33 +02:00
parent 4915e563da
commit a15b3ed86c
1 changed files with 2 additions and 0 deletions

View File

@ -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: