diff options
author | yangyan <yangyanyj@chinamobile.com> | 2020-01-22 09:15:33 +0800 |
---|---|---|
committer | Yan Yang <yangyanyj@chinamobile.com> | 2020-01-22 11:23:17 +0000 |
commit | 147740a5d6786ffded3040efab8f445b6e3ac8eb (patch) | |
tree | 269991c1c760f9af3e87710c9db563fba5fdf294 | |
parent | ddd4fc1927e226950b6e09e6649f53bd063b861f (diff) |
Fix the pep8 error of unused variable
Change-Id: I08cce4c30a824086c0bd7abde18798e563303410
Issue-ID: VFC-1595
Signed-off-by: yangyan <yangyanyj@chinamobile.com>
-rw-r--r-- | mgr/mgr/pub/utils/restcall.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/mgr/mgr/pub/utils/restcall.py b/mgr/mgr/pub/utils/restcall.py index 3e948a2..567361b 100644 --- a/mgr/mgr/pub/utils/restcall.py +++ b/mgr/mgr/pub/utils/restcall.py @@ -70,6 +70,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) logger.debug("[%s]ret=%s" % (callid, str(ret))) return ret |