mirror of
https://github.com/openSUSE/osc.git
synced 2025-01-24 22:06:14 +01:00
81d1985bc5
The old code does not print any information about the host, for which the access failed, in case of an URLError. In order to fix this, add information about the host (and port) to the URLError instance in core.http_request and use this information in the babysitter to print out a more detailed error message (which includes the host (and port)). For now, we simply add a "private" "_osc_host_port" attribute to the URLError instance (this way we avoid potential name clashes (due to the "_osc" prefix) and could come up with a different/more clever way in the future (due to its privateness)). Fixes: #954 ("Better diagnostic for domain name issues") |
||
---|---|---|
.. | ||
util | ||
__init__.py | ||
.gitignore | ||
babysitter.py | ||
build.py | ||
checker.py | ||
cmdln.py | ||
commandline.py | ||
conf.py | ||
core.py | ||
credentials.py | ||
fetch.py | ||
grabber.py | ||
meter.py | ||
OscConfigParser.py | ||
oscerr.py | ||
oscssl.py | ||
oscsslexcp.py |