Code Review
/
vfc
/
nfvo
/
driver
/
vnfm
/
svnfm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
review
|
tree
raw
|
patch
| inline |
side by side
(parent:
eb6b7be
)
Fix the pep8 error of unused variable
32/100532/2
author
yangyan
<yangyanyj@chinamobile.com>
Tue, 21 Jan 2020 10:01:44 +0000
(18:01 +0800)
committer
Yan Yang
<yangyanyj@chinamobile.com>
Tue, 21 Jan 2020 14:38:38 +0000
(14:38 +0000)
Change-Id: I5231b43c4bfcca63565c9fbf365d0d9ee1b9852e
Issue-ID: VFC-1595
Signed-off-by: yangyan <yangyanyj@chinamobile.com>
zte/vmanager/driver/pub/utils/restcall.py
patch
|
blob
|
history
diff --git
a/zte/vmanager/driver/pub/utils/restcall.py
b/zte/vmanager/driver/pub/utils/restcall.py
index
cc3985a
..
74724e1
100644
(file)
--- a/
zte/vmanager/driver/pub/utils/restcall.py
+++ b/
zte/vmanager/driver/pub/utils/restcall.py
@@
-70,7
+70,9
@@
def call_req(base_url, user, passwd, auth_type, resource, method, content=''):
res_info = str(sys.exc_info())
if 'httplib.ResponseNotReady' in res_info:
res_info = "The URL[%s] request failed or is not responding." % full_url
+ logger.debug(ex)
ret = [3, res_info, resp_status]
+
except:
logger.error(traceback.format_exc())
ret = [4, str(sys.exc_info()), resp_status]