Code Review
/
vfc
/
gvnfm
/
vnfres.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
review
|
tree
raw
|
patch
| inline |
side by side
(parent:
ce23528
)
Fix the pep8 error of unused variable
74/100574/2
author
yangyan
<yangyanyj@chinamobile.com>
Wed, 22 Jan 2020 01:10:16 +0000
(09:10 +0800)
committer
Yan Yang
<yangyanyj@chinamobile.com>
Wed, 22 Jan 2020 01:11:59 +0000
(
01:11
+0000)
Change-Id: Ieb7b9405885036c11ae15f9b2c9395eab60d5227
Issue-ID: VFC-1595
Signed-off-by: yangyan <yangyanyj@chinamobile.com>
res/res/pub/utils/restcall.py
patch
|
blob
|
history
diff --git
a/res/res/pub/utils/restcall.py
b/res/res/pub/utils/restcall.py
index
852bf0b
..
a609a9a
100644
(file)
--- a/
res/res/pub/utils/restcall.py
+++ b/
res/res/pub/utils/restcall.py
@@
-69,6
+69,7
@@
def call_req(base_url, user, passwd, auth_type, resource, method, content=''):
if 'httplib.ResponseNotReady' in res_info:
res_info = "The URL[%s] request failed or is not responding." % full_url
ret = [3, res_info, resp_status]
+ logger.debug(ex)
except:
logger.error(traceback.format_exc())
ret = [4, str(sys.exc_info()), resp_status]