X-Git-Url: https://gerrit.onap.org/r/gitweb?a=blobdiff_plain;f=lcm%2Flcm%2Fpub%2Futils%2Frestcall.py;h=d1ebcc0caf62e47a70e33dc82abb29f70b0cc7e7;hb=refs%2Fchanges%2F69%2F117569%2F1;hp=8a9010c26bd8aa3e9856bc9482044f4c31c8f9df;hpb=b8dc81c09492daf50eb247172b5c75ceb4f113cc;p=vfc%2Fgvnfm%2Fvnflcm.git diff --git a/lcm/lcm/pub/utils/restcall.py b/lcm/lcm/pub/utils/restcall.py index 8a9010c2..d1ebcc0c 100644 --- a/lcm/lcm/pub/utils/restcall.py +++ b/lcm/lcm/pub/utils/restcall.py @@ -65,7 +65,7 @@ def call_req(base_url, user, passwd, auth_type, resource, method, content='', ad raise ex except urllib.error.URLError as err: ret = [2, str(err), resp_status] - except Exception as ex: + except Exception: logger.error(traceback.format_exc()) logger.error("[%s]ret=%s" % (callid, str(sys.exc_info()))) res_info = str(sys.exc_info())