mirror of
https://github.com/openSUSE/osc.git
synced 2025-02-05 19:00:56 +01:00
ff19a5f539
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'"")