Pramater doesn't align to comments

Change param 'details' to 'exc' to match the parameter of function
parse_exception

Change-Id: I82cb3bca09fceecb1807fc7f39a8fbfc57e22e81
This commit is contained in:
zzxwill
2016-04-11 20:45:59 +08:00
parent eab5368643
commit 7bf8bb3472

View File

@@ -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: