diff options
Diffstat (limited to 'azure/multicloud_azure/pub/utils/restcall.py')
-rw-r--r-- | azure/multicloud_azure/pub/utils/restcall.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/azure/multicloud_azure/pub/utils/restcall.py b/azure/multicloud_azure/pub/utils/restcall.py index 0b0ef33..81f4139 100644 --- a/azure/multicloud_azure/pub/utils/restcall.py +++ b/azure/multicloud_azure/pub/utils/restcall.py @@ -86,7 +86,7 @@ def call_req(base_url, user, passwd, auth_type, resource, method, content='', raise ex except urllib2.URLError as err: ret = [2, str(err), resp_status, resp] - 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()) |