From be25ac706aebde77865996223e14658d36618248 Mon Sep 17 00:00:00 2001 From: Vijay Venkatesh Kumar Date: Mon, 9 Jan 2023 15:05:56 +0000 Subject: Fix black reported error in rls job Change-Id: I5b3b04214ca2a53a23df170bfbfd25c768dc8ac2 Signed-off-by: Vijay Venkatesh Kumar Issue-ID: DCAEGEN2-3321 Signed-off-by: Vijay Venkatesh Kumar --- miss_htbt_service/misshtbtd.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'miss_htbt_service/misshtbtd.py') diff --git a/miss_htbt_service/misshtbtd.py b/miss_htbt_service/misshtbtd.py index 23d4835..1b96f38 100644 --- a/miss_htbt_service/misshtbtd.py +++ b/miss_htbt_service/misshtbtd.py @@ -126,6 +126,7 @@ def create_update_hb_common(update_flg, process_id, state, user_name, password, heartbeat.commit_and_close_db(connection_db) cur.close() + def db_table_creation_check(connection_db, table_name): cur = connection_db.cursor() try: @@ -141,7 +142,8 @@ def db_table_creation_check(connection_db, table_name): _logger.error(msg) finally: cur.close() - + + def create_update_vnf_table_1(jsfile, update_db, connection_db): with open(jsfile, "r") as outfile: cfg = json.load(outfile) @@ -375,7 +377,6 @@ def create_process(job_list, jsfile, pid_current): return job_list - def main(): get_logger.configure_logger("misshtbtd") pid_current = os.getpid() -- cgit 1.2.3-korg