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:
@@ -230,7 +230,7 @@ _EXCEPTION_MAP = {
|
|||||||
def parse_exception(exc):
|
def parse_exception(exc):
|
||||||
"""Parse exception code and yield useful information.
|
"""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 isinstance(exc, sdkexc.HttpException):
|
||||||
if exc.details is None:
|
if exc.details is None:
|
||||||
|
Reference in New Issue
Block a user