summaryrefslogtreecommitdiff
path: root/buildlibxml.py
diff options
context:
space:
mode:
authorStefan Behnel <stefan_ml@behnel.de>2018-09-15 13:22:12 +0200
committerStefan Behnel <stefan_ml@behnel.de>2018-09-15 13:22:12 +0200
commit01a107bb1e04f93a966e13a4e83dceca272d1ae7 (patch)
treedee23693920270f7bf304df32ca0d3bba249cdaa /buildlibxml.py
parent8f5d34fe5192e86c7abc36c53f5b912a8f2da099 (diff)
downloadpython-lxml-01a107bb1e04f93a966e13a4e83dceca272d1ae7.tar.gz
Provide more information on download errors in static build script.
Diffstat (limited to 'buildlibxml.py')
-rw-r--r--buildlibxml.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/buildlibxml.py b/buildlibxml.py
index 4968eeaa..2f5e1a19 100644
--- a/buildlibxml.py
+++ b/buildlibxml.py
@@ -137,7 +137,8 @@ def remote_listdir(url):
return _list_dir_urllib(url)
except IOError:
assert url.lower().startswith('ftp://')
- print("Requesting with urllib failed. Falling back to ftplib. Proxy argument will be ignored")
+ print("Requesting with urllib failed. Falling back to ftplib. "
+ "Proxy argument will be ignored for %s" % url)
return _list_dir_ftplib(url)