You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@libcloud.apache.org by "Scott Crunkleton (JIRA)" <ji...@apache.org> on 2016/02/26 02:25:18 UTC

[jira] [Updated] (LIBCLOUD-803) Bad SSL socket exception handling

     [ https://issues.apache.org/jira/browse/LIBCLOUD-803?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Scott Crunkleton updated LIBCLOUD-803:
--------------------------------------
    Description: 
See https://github.com/apache/libcloud/blob/69fc915b52fc42b288fa503b2c44c4cc4691ec18/libcloud/httplib_ssl.py#L306

The method get_socket_error_exception can return None. Raising None results in a TypeError:

TypeError: exceptions must be old-style classes or derived from BaseException, not NoneType

  was:
See https://github.com/apache/libcloud/blob/trunk/libcloud/httplib_ssl.py#L307.

The method get_socket_error_exception can return None. Raising None results in a TypeError:

TypeError: exceptions must be old-style classes or derived from BaseException, not NoneType


> Bad SSL socket exception handling
> ---------------------------------
>
>                 Key: LIBCLOUD-803
>                 URL: https://issues.apache.org/jira/browse/LIBCLOUD-803
>             Project: Libcloud
>          Issue Type: Bug
>            Reporter: Scott Crunkleton
>
> See https://github.com/apache/libcloud/blob/69fc915b52fc42b288fa503b2c44c4cc4691ec18/libcloud/httplib_ssl.py#L306
> The method get_socket_error_exception can return None. Raising None results in a TypeError:
> TypeError: exceptions must be old-style classes or derived from BaseException, not NoneType



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)