On Wed, Apr 18, 2012 at 06:10:50PM -0400, Chris Schrier wrote:
> ---
> lib/rapi/client.py | 2 +-
> 1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/lib/rapi/client.py b/lib/rapi/client.py
> index cbcf9ae..d68bb62 100644
> --- a/lib/rapi/client.py
> +++ b/lib/rapi/client.py
> @@ -472,7 +472,7 @@ class GanetiRapiClient(object): # pylint: disable=R0904
> if err.args[0] in _CURL_SSL_CERT_ERRORS:
> raise CertificateError("SSL certificate error %s" % err)
>
> - raise GanetiApiError(str(err))
> + raise GanetiApiError(str(err), code=err.args[0])
LGTM, thanks.
iustin