summaryrefslogtreecommitdiffstats
path: root/onap-dcae-cbs-docker-client
diff options
context:
space:
mode:
authorTommy Carpenter <tommy@research.att.com>2018-10-25 13:56:41 -0400
committerTommy Carpenter <tommy@research.att.com>2018-10-25 13:56:45 -0400
commitc7a0582d22ba2016fc2b2d02ae4147996a290c06 (patch)
treee7088277680d4adda418cc2571c0bbb5180cfa1a /onap-dcae-cbs-docker-client
parent71a3d6efb66021adec156d5d392175ce0aac6e3e (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')
-rw-r--r--onap-dcae-cbs-docker-client/Changelog.md3
-rw-r--r--onap-dcae-cbs-docker-client/onap_dcae_cbs_docker_client/client.py2
-rw-r--r--onap-dcae-cbs-docker-client/pom.xml6
-rw-r--r--onap-dcae-cbs-docker-client/setup.py2
4 files changed, 8 insertions, 5 deletions
diff --git a/onap-dcae-cbs-docker-client/Changelog.md b/onap-dcae-cbs-docker-client/Changelog.md
index 1269750..3c29fcc 100644
--- a/onap-dcae-cbs-docker-client/Changelog.md
+++ b/onap-dcae-cbs-docker-client/Changelog.md
@@ -4,6 +4,9 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](http://keepachangelog.com/)
and this project adheres to [Semantic Versioning](http://semver.org/).
+## [1.0.3]
+* Fix an issue caused by flake8 upgrading
+
## [1.0.2]
* Refactor some code, PEP8 compliance
* Add flake8 to tox
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)
diff --git a/onap-dcae-cbs-docker-client/pom.xml b/onap-dcae-cbs-docker-client/pom.xml
index d006a29..a8d861d 100644
--- a/onap-dcae-cbs-docker-client/pom.xml
+++ b/onap-dcae-cbs-docker-client/pom.xml
@@ -28,7 +28,7 @@ ECOMP is a trademark and service mark of AT&T Intellectual Property.
<groupId>org.onap.dcaegen2.utils</groupId>
<artifactId>onap-dcae-cbs-docker-client</artifactId>
<name>dcaegen2-utils-python-cbs-docker-client</name>
- <version>1.1.0-SNAPSHOT</version>
+ <version>1.0.3-SNAPSHOT</version>
<url>http://maven.apache.org</url>
<properties>
@@ -65,7 +65,7 @@ ECOMP is a trademark and service mark of AT&T Intellectual Property.
</configuration>
</plugin>
<!-- first disable the default Java plugins at various stages -->
- <!-- maven-resources-plugin is called during "*resource" phases by default behavior. it prepares
+ <!-- maven-resources-plugin is called during "*resource" phases by default behavior. it prepares
the resources dir. we do not need it -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
@@ -96,7 +96,7 @@ ECOMP is a trademark and service mark of AT&T Intellectual Property.
</execution>
</executions>
</plugin>
- <!-- maven-install-plugin is called during "install" phase by default behavior. it tries to copy stuff under
+ <!-- maven-install-plugin is called during "install" phase by default behavior. it tries to copy stuff under
target dir to ~/.m2. we do not need it -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
diff --git a/onap-dcae-cbs-docker-client/setup.py b/onap-dcae-cbs-docker-client/setup.py
index b4fdf0e..48660a1 100644
--- a/onap-dcae-cbs-docker-client/setup.py
+++ b/onap-dcae-cbs-docker-client/setup.py
@@ -21,7 +21,7 @@ from setuptools import setup, find_packages
setup(
name="onap_dcae_cbs_docker_client",
description="very lightweight client for a DCAE dockerized component to get it's config from the CBS",
- version="1.0.2",
+ version="1.0.3",
packages=find_packages(),
author="Tommy Carpenter",
author_email="tommy@research.att.com",