From 7bf8bb34726a09aadf0710a90e68077b6d47d3dd Mon Sep 17 00:00:00 2001 From: zzxwill Date: Mon, 11 Apr 2016 20:45:59 +0800 Subject: [PATCH] Pramater doesn't align to comments Change param 'details' to 'exc' to match the parameter of function parse_exception Change-Id: I82cb3bca09fceecb1807fc7f39a8fbfc57e22e81 --- senlinclient/common/exc.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/senlinclient/common/exc.py b/senlinclient/common/exc.py index e5e0a6a5..77122832 100644 --- a/senlinclient/common/exc.py +++ b/senlinclient/common/exc.py @@ -230,7 +230,7 @@ _EXCEPTION_MAP = { def parse_exception(exc): """Parse exception code and yield useful information. - :param details: details of the exception. + :param exc: details of the exception. """ if isinstance(exc, sdkexc.HttpException): if exc.details is None: