[ 
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)

Reply via email to