aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVijay Venkatesh Kumar <vv770d@att.com>2022-10-25 16:15:07 +0000
committerVijay Venkatesh Kumar <vv770d@att.com>2022-11-09 17:43:00 +0000
commit094e1fb18f23d800c093e92e7e3c2db8e9493dd7 (patch)
treeff693ea16c4b56de8ee9a1b816fec63e49f8142c
parent5ff6313aa7fc5c087ee8cd922e6c23b55d8b8213 (diff)
Fix black check compatibility issuekohn
Change-Id: Ide32d2287d4d760534edb41e2cf8201bb6e87d82 Signed-off-by: Vijay Venkatesh Kumar <vv770d@att.com> Issue-ID: DCAEGEN2-3297 Signed-off-by: Vijay Venkatesh Kumar <vv770d@att.com> (cherry picked from commit 2e840627a6b01475eb98b52f0a45593b4f2b8641) Signed-off-by: Vijay Venkatesh Kumar <vv770d@att.com>
-rw-r--r--Changelog.md3
-rw-r--r--miss_htbt_service/htbtworker.py2
2 files changed, 3 insertions, 2 deletions
diff --git a/Changelog.md b/Changelog.md
index 4631560..9d98d9c 100644
--- a/Changelog.md
+++ b/Changelog.md
@@ -4,8 +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/).
-## [2.5.0] - 2022/10/19
+## [2.5.0] - 2022/10/25
- [DCAEGEN2-2952] Handle exception when MR is unavailable
+- [DCAEGEN2-3297] Fix Black tool compatibility issue blocking docker build
## [2.4.1] - 2022/09/23
- [DCAEGEN2-2837] Heartbeat ms: remove unnecessary parenthesis, use lowercase variable name
diff --git a/miss_htbt_service/htbtworker.py b/miss_htbt_service/htbtworker.py
index 0d43533..6765266 100644
--- a/miss_htbt_service/htbtworker.py
+++ b/miss_htbt_service/htbtworker.py
@@ -102,7 +102,7 @@ def process_msg(jsfile, user_name, password, ip_address, port_num, db_name):
res = requests.get(get_url)
except Exception as e:
# message-router may be down temporarily. continue polling loop to try again
- _logger.error('HBT: Failed to fetch messages from DMaaP. get_url=%s', get_url, exc_info=e)
+ _logger.error("HBT: Failed to fetch messages from DMaaP. get_url=%s", get_url, exc_info=e)
time.sleep(1)
continue
_logger.info("HBT: %s", res.text)