Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 473178 Details for
Bug 604968
app-portage/mirrorselect gives SSL certificate error for mirror.dkm.cz
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch to handle ssl.CertificateError
mirrorselect-9999-ssl-certificateerror.patch (text/plain), 728 bytes, created by
godlike64
on 2017-05-18 18:25:51 UTC
(
hide
)
Description:
Patch to handle ssl.CertificateError
Filename:
MIME Type:
Creator:
godlike64
Created:
2017-05-18 18:25:51 UTC
Size:
728 bytes
patch
obsolete
>--- mirrorselect/mirrorselect/selectors.py 2017-05-18 15:15:13.436869401 -0300 >+++ /usr/lib64/python3.4/site-packages/mirrorselect/selectors.py 2017-05-18 15:21:32.827589579 -0300 >@@ -35,6 +35,7 @@ > import sys > import time > import hashlib >+import ssl > > if sys.version_info[0] >= 3: > import urllib.request, urllib.parse, urllib.error >@@ -437,6 +438,10 @@ > except TimeoutException: > self.output.write(('deeptime(): connection to host %s ' > 'timed out for ip %s\n') % (url_parts.hostname, ip), 2) >+ except ssl.CertificateError as e: >+ self.output.write('deeptime(): connection to host %s\n' >+ ' returned ssl.CertificateError: %s\n' >+ % (url_parts.hostname, e), 2) > return f, test_url, early_out > >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 604968
: 473178 |
491764
|
559198