diff options
author | 2018-10-25 13:56:41 -0400 | |
---|---|---|
committer | 2018-10-25 13:56:45 -0400 | |
commit | c7a0582d22ba2016fc2b2d02ae4147996a290c06 (patch) | |
tree | e7088277680d4adda418cc2571c0bbb5180cfa1a /onap-dcae-cbs-docker-client/onap_dcae_cbs_docker_client | |
parent | 71a3d6efb66021adec156d5d392175ce0aac6e3e (diff) |
Fix issue caused by flake8 upgrade3.0.1-ONAP3.0.0-ONAPcasablanca
Issue-ID: DCAEGEN2-919
Change-Id: I6bea00422edfdfb20fd1af3dcc68a60ef77140d9
Signed-off-by: Tommy Carpenter <tommy@research.att.com>
Diffstat (limited to 'onap-dcae-cbs-docker-client/onap_dcae_cbs_docker_client')
-rw-r--r-- | onap-dcae-cbs-docker-client/onap_dcae_cbs_docker_client/client.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/onap-dcae-cbs-docker-client/onap_dcae_cbs_docker_client/client.py b/onap-dcae-cbs-docker-client/onap_dcae_cbs_docker_client/client.py index adcec85..3f2fcf2 100644 --- a/onap-dcae-cbs-docker-client/onap_dcae_cbs_docker_client/client.py +++ b/onap-dcae-cbs-docker-client/onap_dcae_cbs_docker_client/client.py @@ -87,7 +87,7 @@ def _get_path(path): config = res.json() LOGGER.info("get_config returned the following configuration: {0}".format( json.dumps(config))) - except requests.exceptions.HTTPError as exc: + except requests.exceptions.HTTPError: LOGGER.error("in get_config, the config binding service endpoint %s was not reachable. Error code: %d, Error text: %s", my_config_endpoint, res.status_code, res.text) except Exception as exc: LOGGER.exception(exc) |