Skip to content
Unverified Commit 14e53a05 authored by Michael Weiss's avatar Michael Weiss
Browse files

gitRepo: Rewrite the "urllib.request.urlopen" patch for Python 3

The old variant is still working but setting "cafile" is deprecated
since version 3.6 [0] and generates a warning:
DeprecationWarning: cafile, capath and cadefault are deprecated, use a custom context instead.

But without this patch "fetchRepoProject" still fails with
"error no host given" (see 337380ea).

[0]: https://docs.python.org/3.7/library/urllib.request.html#urllib.request.urlopen
parent 87c12d7d
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment