diff options
Diffstat (limited to 'mirrorselect/selectors.py')
-rw-r--r-- | mirrorselect/selectors.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mirrorselect/selectors.py b/mirrorselect/selectors.py index 58a44a1..33f7663 100644 --- a/mirrorselect/selectors.py +++ b/mirrorselect/selectors.py @@ -388,7 +388,7 @@ class Deep(object): finally: signal.alarm(0) - except EnvironmentError as e: + except (EnvironmentError, ssl.CertificateError) as e: self.output.write(('\ndeeptime(): download from host %s ' 'failed for ip %s: %s\n') % (url_parts.hostname, ip, e), 2) return (None, True) |