From 094e1fb18f23d800c093e92e7e3c2db8e9493dd7 Mon Sep 17 00:00:00 2001 From: Vijay Venkatesh Kumar Date: Tue, 25 Oct 2022 16:15:07 +0000 Subject: Fix black check compatibility issue Change-Id: Ide32d2287d4d760534edb41e2cf8201bb6e87d82 Signed-off-by: Vijay Venkatesh Kumar Issue-ID: DCAEGEN2-3297 Signed-off-by: Vijay Venkatesh Kumar (cherry picked from commit 2e840627a6b01475eb98b52f0a45593b4f2b8641) Signed-off-by: Vijay Venkatesh Kumar --- Changelog.md | 3 ++- miss_htbt_service/htbtworker.py | 2 +- 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) -- cgit 1.2.3-korg