Issue #17554: Print "fetching <url> ..." messages only in verbose mode.
Patch by Ezio Melotti.
This commit is contained in:
parent
0ecd7ba968
commit
0a2e874eea
|
@ -1040,6 +1040,7 @@ def open_urlresource(url, *args, **kw):
|
|||
# Verify the requirement before downloading the file
|
||||
requires('urlfetch')
|
||||
|
||||
if verbose:
|
||||
print('\tfetching %s ...' % url, file=get_original_stdout())
|
||||
opener = urllib.request.build_opener()
|
||||
if gzip:
|
||||
|
|
Loading…
Reference in New Issue