1
0
mirror of https://github.com/openSUSE/osc.git synced 2025-02-05 19:00:56 +01:00
Marcus Huewe ff19a5f539 Fix SSL.Connection instantiation in case of an old M2Crypto
Do not pass a family parameter to SSL.Connection's constructor if it
does not support it. If the family parameter is not supported, we
_try_ to fallback to socket.AF_INET, which is implicitly used by
older versions of the SSL.Connection class.

Fixes: #274 ("osc 0.157 Exception AttributeError: "Connection
instance has no attribute 'ssl_close_flag'"")
2017-03-09 13:34:17 +01:00
..
2016-08-08 10:35:14 +02:00
2009-12-03 19:19:53 +01:00
2014-08-12 15:01:16 +02:00
2017-03-09 10:51:35 +01:00
2013-04-16 10:51:41 +02:00